Package com.adobe.fontengine.font
Class SubsetSimpleTrueType
- java.lang.Object
-
- com.adobe.fontengine.font.SubsetSimpleTrueType
-
public class SubsetSimpleTrueType extends Object
-
-
Constructor Summary
Constructors Constructor Description SubsetSimpleTrueType(int platformID, int platformSpecificID, int[] codePoints, String[] postNames)
Prepare a subset object for a simple TrueType font.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getCodePoints()
int
getPlatformID()
int
getPlatformSpecificID()
String[]
getPostNames()
-
-
-
Constructor Detail
-
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 Detail
-
getPlatformID
public int getPlatformID()
-
getPlatformSpecificID
public int getPlatformSpecificID()
-
getCodePoints
public int[] getCodePoints()
-
getPostNames
public String[] getPostNames()
-
-