TtfCMapFormatBaseTable
Inheritance: java.lang.Object
public class TtfCMapFormatBaseTable
Represents CMap sub table base class.
Methods
Method | Description |
---|---|
getPlatformId() | Gets PlatformId. |
getPlatformSpecificId() | Gets PlatformSpecificId. |
getGlyphIndex(long charCode) | Gets a glyph index for a given character code |
getAllCodes() | Gets all the codes from current CMap’s subtable. |
getPlatformId()
public int getPlatformId()
Gets PlatformId.
Returns: int - PlatformId.
getPlatformSpecificId()
public int getPlatformSpecificId()
Gets PlatformSpecificId.
Returns: int - PlatformSpecificId.
getGlyphIndex(long charCode)
public long getGlyphIndex(long charCode)
Gets a glyph index for a given character code
Parameters:
Parameter | Type | Description |
---|---|---|
charCode | long | character code |
Returns: long - Glyph index.
getAllCodes()
public ArrayList<Long> getAllCodes()
Gets all the codes from current CMap’s subtable.
Returns: java.util.ArrayList<java.lang.Long> - All codes from current CMap’s subtable.