output.println("StartFontMetrics 2.0");
output.println("FontName " + font.getName());
output.println("FullName " + font.getProperty("FullName"));
output.println("FamilyName " + font.getProperty("FamilyName"));
output.println("Weight " + font.getProperty("Weight"));
CFFEncoding encoding = font.getEncoding();
if (encoding.isFontSpecific())
{
output.println("EncodingScheme FontSpecific");
}
Rectangle2D bounds = getBounds(metrics);
output.println("FontBBox " + (int)bounds.getX() + " " + (int)bounds.getY()