TtfCMapFormat4Table
Inheritance: java.lang.Object, com.aspose.font.TtfCMapFormatBaseTable
public class TtfCMapFormat4Table extends TtfCMapFormatBaseTable
Represents Format4 CMap subtable of the TTF Font file.
Methods
Method | Description |
---|---|
getGlyphIndex(long charCode) | Gets a glyph index for a given character code. |
getAllCodes() | Gets all the codes from current CMap’s subtable. |
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.