final BaseFont baseFont = baseFontSupport.createBaseFont
(fontName, bold, italic, context.getEncoding(), context.isEmbedded());
final FontMetrics metrics = new BaseFontFontMetrics(baseFont, (float) context.getFontSize());
final FontKey key = new FontKey(rawRecord, context.isAntiAliased(),
context.isFractionalMetrics(), context.getFontSize());
knownMetrics.put(key, metrics);
return metrics;
}