public class TtfCMapTable extends TtfTableBase
Represents "cmap" table of the TTF Font file.
Modifier and Type | Class and Description |
---|---|
static class |
TtfCMapTable.TtfCMapSubtableDescription
Provides brief information about CMap subtable.
|
Modifier and Type | Method and Description |
---|---|
TtfCMapFormatBaseTable |
findUnicodeTable()
Searches and returns unicode CMap.
|
TtfCMapTable.TtfCMapSubtableDescription[] |
getAllSubtables()
Returns all the subtables from CMap table.
|
TtfCMapFormatBaseTable[] |
getPlatformTables(int platformId,
int platformSpecificId)
Returns CMap subtables for planformId and platformSpecificId.
|
static String |
getTag()
Gets table tag.
|
getLength, getOffset, getTtfTables
public static String getTag()
Gets table tag.
public TtfCMapFormatBaseTable[] getPlatformTables(int platformId, int platformSpecificId)
Returns CMap subtables for planformId and platformSpecificId.
platformId
- Platform Id.platformSpecificId
- Platform-specific encoding Id.public TtfCMapFormatBaseTable findUnicodeTable()
Searches and returns unicode CMap. if there is ucs-4 CMap - returns it first; otherwise - returns any unicode cmap it can find.
public TtfCMapTable.TtfCMapSubtableDescription[] getAllSubtables()
Returns all the subtables from CMap table.
TtfCmapSubtableDescription
objects