Work with Glyphs and Metrics of Type1 Fonts | Java

Get Font Metrics

Font metrics contain information such as Ascender, Descender, TypoAscender, TypoDescender and UnitsPerEm. Aspose.Font for Java API can read the Font Metrics information from the Type1 Font File using the following sample code.

Detect Latin Symbols

Aspose.Font for Java lets you detect Latin Symbols from Type1 font files. This can be achieved using the following sample code.

  • Load the Font file using FontFileDefinition
  • Decode the GlyphId using the DecodeToGid() method