private void addType1Font(File pfbFile) throws IOException
{
InputStream input = new FileInputStream(pfbFile);
try
{
Type1Font type1 = Type1Font.createWithPFB(input);
String psName = type1.getFontName();
type1FontFiles.put(psName, pfbFile);
if (LOG.isTraceEnabled())
{
LOG.trace("PFB: '" + psName + "' / '" + type1.getFamilyName() + "' / '" +
type1.getWeight() + "'");
}
}
finally
{
input.close();