public FontMetrics createMetrics(final FontIdentifier identifier,
final FontContext context)
{
final CompoundFontIdentifier compoundFontIdentifier;
final FontIdentifier record;
if (identifier instanceof CompoundFontIdentifier)
{
compoundFontIdentifier = (CompoundFontIdentifier) identifier;
record = compoundFontIdentifier.getIdentifier();
}