* This is a hack because Java can only deal with fonts that
* have a Microsoft encoded name in their name table (PlatformID 3).
* We'll 'adjust' the font to add it if not, and take our chances
* with our parsing, since it wasn't going to work anyway.
*/
NameTable nameTable = null;
try {
nameTable = (NameTable) ttf.getTable ("name");
} catch (Exception ex) {
System.out.println ("Error reading name table for font " +