Class AdobeGlyphList

java.lang.Object
org.loboevolution.pdfview.font.ttf.AdobeGlyphList

public final class AdobeGlyphList extends Object
  • Method Details

    • getUnicodeValues

      public static int[] getUnicodeValues(String glyphName)
      translate a glyph name into the possible unicode values that it might represent. It is possible to have more than one unicode value for a single glyph name.
      Parameters:
      glyphName - a String object.
      Returns:
      int[]
    • getGlyphNameIndex

      public static Integer getGlyphNameIndex(String glyphName)
      return a single index for a glyph, though there may be multiples.
      Parameters:
      glyphName - a String object.
      Returns:
      Integer
    • getGlyphName

      public static String getGlyphName(int unicode)
      translate a unicode value into a glyph name. It is possible for different unicode values to translate into the same glyph name.
      Parameters:
      unicode - a Integer object.
      Returns:
      String