Class SubsetSimpleTrueType

java.lang.Object
com.adobe.fontengine.font.SubsetSimpleTrueType

public class SubsetSimpleTrueType extends Object
  • Constructor Details

    • SubsetSimpleTrueType

      public SubsetSimpleTrueType(int platformID, int platformSpecificID, int[] codePoints, String[] postNames)
      Prepare a subset object for a simple TrueType font. This consists of a SINGLE cmap and a list of codepoints relative to that cmap. The codepoints are 32-bit values because they may be Unicode codepoints. The POST table glyph names list is optional and should contain ONLY names that are required but not available in the passed cmap. These names will be compared against the font's POST table and, if there is none or the name is missing, an error is thrown. The length and order of the lists is unimportant. Duplicate entries will be removed and null entries in the POST names list are ignored.
  • Method Details

    • getPlatformID

      public int getPlatformID()
    • getPlatformSpecificID

      public int getPlatformSpecificID()
    • getCodePoints

      public int[] getCodePoints()
    • getPostNames

      public String[] getPostNames()