Class AdobeGlyphList

java.lang.Object
com.itextpdf.io.font.AdobeGlyphList

public class AdobeGlyphList extends Object
Provides mappings between Adobe glyph names and Unicode code points.
  • Constructor Details

    • AdobeGlyphList

      public AdobeGlyphList()
  • Method Details

    • nameToUnicode

      public static int nameToUnicode (String name)
      Resolves an Adobe glyph name to a Unicode code point.
      Parameters:
      name - the glyph name
      Returns:
      the code point, or -1 when the name is unknown
    • unicodeToName

      public static String unicodeToName (int num)
      Resolves a Unicode code point to an Adobe glyph name.
      Parameters:
      num - the Unicode code point
      Returns:
      the glyph name, or null when unknown
    • getNameToUnicodeLength

      public static int getNameToUnicodeLength()
      Returns the number of loaded glyph names.
      Returns:
      the number of loaded glyph-name mappings
    • getUnicodeToNameLength

      public static int getUnicodeToNameLength()
      Returns the number of loaded unicodes.
      Returns:
      the number of loaded Unicode mappings