public class TtfCMapFormat2Table extends TtfCMapFormatBaseTable
Represents Format2 CMap subtable of the TTF Font file.
Modifier and Type | Method and Description |
---|---|
ArrayList<Long> |
getAllCodes()
Gets all the codes from current CMap's subtable.
|
long |
getGlyphIndex(long charCode)
Gets a glyph index for a given character code.
|
getPlatformId, getPlatformSpecificId
public long getGlyphIndex(long charCode)
Gets a glyph index for a given character code.
getGlyphIndex
in class TtfCMapFormatBaseTable
charCode
- Character code.public ArrayList<Long> getAllCodes()
Gets all the codes from current CMap's subtable.
getAllCodes
in class TtfCMapFormatBaseTable