Font newFont = addFont(path, type);
if (newFont == null) {
if ((new File(path)).canRead()) {
//awt.9B=Can't create font - bad font data
throw new FontFormatException ( Messages.getString("awt.9B") ); //$NON-NLS-1$
}
throw new IOException();
}
allFonts.add(newFont);