metricsFactories.put(registry, metricsFactory);
}
misses += 1;
final FontKey key = new FontKey(record, context.isAntiAliased(),
context.isFractionalMetrics(), context.getFontSize());
final FontMetrics metrics = metricsFactory.createMetrics(cid.getIdentifier(), context);
firstLevelFontCache.putFontMetrics(key, metrics);
return metrics;
}