Class SubsetSimpleTrueType


  • public class SubsetSimpleTrueType
    extends java.lang.Object
    • Constructor Detail

      • SubsetSimpleTrueType

        public SubsetSimpleTrueType​(int platformID,
                                    int platformSpecificID,
                                    int[] codePoints,
                                    java.lang.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 Detail

      • getPlatformID

        public int getPlatformID()
      • getPlatformSpecificID

        public int getPlatformSpecificID()
      • getCodePoints

        public int[] getCodePoints()
      • getPostNames

        public java.lang.String[] getPostNames()