}
try
{
final String fontSource = ttfId.getFontSource();
final FontDataInputSource fdis =
new FileFontDataInputSource(new File(fontSource));
final TrueTypeFont font = new TrueTypeFont(fdis);
final ScalableTrueTypeFontMetrics fontMetrics =
new ScalableTrueTypeFontMetrics(font);
this.fontRecords.put(ttfId, fontMetrics);