public class CmapTable extends OpenTypeTable
OpenTypeTable.OtfTableRecordcachedUnpaddedData, font, isFromParsedFont, record, TABLE_RECORD_SIZE| Constructor and Description |
|---|
CmapTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGlyphMapping(Integer charCode,
Integer glyphId) |
void |
addGlyphMapping(List<GlyphMapReader.GlyphMapping> mapping) |
static CmapTable |
createDefaultTable() |
protected byte[] |
generateUnpaddedData() |
OtfNameConstants.OtfEncodingType |
getCmapEncodingType() |
int |
getGlyphCount() |
List<GlyphMapReader.GlyphMapping> |
getGlyphMappings() |
String |
getTableType() |
void |
readData(byte[] data) |
clearDataCache, createFromRecord, finalizeRecord, getChecksum, getData, getOffset, getRecordData, getUnpaddedData, isParsingImplemented, setOffsetpublic String getTableType()
getTableType in class OpenTypeTableprotected byte[] generateUnpaddedData()
throws IOException
generateUnpaddedData in class OpenTypeTableIOExceptionpublic void readData(byte[] data)
throws IOException
readData in class OpenTypeTableIOExceptionpublic static CmapTable createDefaultTable()
public void addGlyphMapping(List<GlyphMapReader.GlyphMapping> mapping)
public int getGlyphCount()
public OtfNameConstants.OtfEncodingType getCmapEncodingType()
public List<GlyphMapReader.GlyphMapping> getGlyphMappings()
Copyright © 2016. All rights reserved.