public abstract class OpenTypeTable extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenTypeTable.OtfTableRecord |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
cachedUnpaddedData |
protected OpenTypeFont |
font |
boolean |
isFromParsedFont |
OpenTypeTable.OtfTableRecord |
record |
static int |
TABLE_RECORD_SIZE |
| Constructor and Description |
|---|
OpenTypeTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearDataCache()
Should be called before/after font data generation.
|
static OpenTypeTable |
createFromRecord(OpenTypeTable.OtfTableRecord record,
OpenTypeFont font) |
void |
finalizeRecord() |
protected byte[] |
generateUnpaddedData() |
long |
getChecksum() |
byte[] |
getData() |
long |
getOffset() |
byte[] |
getRecordData() |
abstract String |
getTableType() |
byte[] |
getUnpaddedData() |
protected boolean |
isParsingImplemented() |
void |
readData(byte[] data) |
void |
setOffset(int offset) |
public static final int TABLE_RECORD_SIZE
public OpenTypeTable.OtfTableRecord record
public boolean isFromParsedFont
protected OpenTypeFont font
protected byte[] cachedUnpaddedData
public static OpenTypeTable createFromRecord(OpenTypeTable.OtfTableRecord record, OpenTypeFont font) throws IllegalAccessException, InstantiationException, IOException
public abstract String getTableType()
public final byte[] getData()
throws IOException
IOExceptionpublic final byte[] getUnpaddedData()
throws IOException
IOExceptionprotected byte[] generateUnpaddedData()
throws IOException
IOExceptionpublic void readData(byte[] data)
throws IOException
IOExceptionprotected boolean isParsingImplemented()
public byte[] getRecordData()
throws IOException
IOExceptionpublic void finalizeRecord()
throws IOException
IOExceptionpublic long getOffset()
public void setOffset(int offset)
public long getChecksum()
public void clearDataCache()
Copyright © 2016. All rights reserved.