| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private Kerning. | |
| private IntIntMap | |
| private int | |
| private float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IntIntMap | |
| public void | load(InputStream
The data for the TTF font. inputStream, int The font size to use to determine kerning pixel offsets. fontSize)
|
| private IntArray[] | |
| private void | |
| private void | |
| private int[] | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private int | |
| private void |
| gposOffset | back to summary |
|---|---|
| private int gposOffset | |
| headOffset | back to summary |
|---|---|
| private int headOffset | |
| input | back to summary |
|---|---|
| private Kerning. | |
| kernings | back to summary |
|---|---|
| private IntIntMap kernings | |
| kernOffset | back to summary |
|---|---|
| private int kernOffset | |
| scale | back to summary |
|---|---|
| private float scale | |
| Kerning | back to summary |
|---|---|
| public Kerning() | |
| getKernings | back to summary |
|---|---|
public IntIntMap getKernings()
| |
| load | back to summary |
|---|---|
public void load(InputStream inputStream, int fontSize) throws IOException
| |
| readClassDefinition | back to summary |
|---|---|
| private IntArray[] readClassDefinition(int position, int classCount) throws IOException | |
| readClassDefinitionFormat1 | back to summary |
|---|---|
| private void readClassDefinitionFormat1(IntArray[] glyphsByClass) throws IOException | |
| readClassDefinitionFormat2 | back to summary |
|---|---|
| private void readClassDefinitionFormat2(IntArray[] glyphsByClass) throws IOException | |
| readCoverageTable | back to summary |
|---|---|
| private int[] readCoverageTable() throws IOException | |
| readExtensionPositioningFormat1 | back to summary |
|---|---|
| private void readExtensionPositioningFormat1(int subTablePosition) throws IOException | |
| readExtensionPositioningSubtable | back to summary |
|---|---|
| private void readExtensionPositioningSubtable(int subTablePosition) throws IOException | |
| readGPOS | back to summary |
|---|---|
| private void readGPOS() throws IOException | |
| readHEAD | back to summary |
|---|---|
| private void readHEAD(int fontSize) throws IOException | |
| readKERN | back to summary |
|---|---|
| private void readKERN() throws IOException | |
| readPairAdjustmentSubtable | back to summary |
|---|---|
| private void readPairAdjustmentSubtable(int subTablePosition) throws IOException | |
| readPairPositioningAdjustmentFormat1 | back to summary |
|---|---|
| private void readPairPositioningAdjustmentFormat1(long subTablePosition) throws IOException | |
| readPairPositioningAdjustmentFormat2 | back to summary |
|---|---|
| private void readPairPositioningAdjustmentFormat2(int subTablePosition) throws IOException | |
| readSubtable | back to summary |
|---|---|
| private void readSubtable(int type, int subTablePosition) throws IOException | |
| readSubtables | back to summary |
|---|---|
| private void readSubtables(int type, int lookupPosition) throws IOException | |
| readTableDirectory | back to summary |
|---|---|
| private void readTableDirectory() throws IOException | |
| readXAdvanceFromValueRecord | back to summary |
|---|---|
| private int readXAdvanceFromValueRecord(int valueFormat) throws IOException | |
| storeKerningOffset | back to summary |
|---|---|
| private void storeKerningOffset(int firstGlyphCode, int secondGlyphCode, int offset) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| private static byte[] | |
| public byte | |
| public short | |
| public int | |
| public long | |
| public int | |
| public int[] | |
| public void |
| TTFInputStream | back to summary |
|---|---|
| public TTFInputStream(InputStream input) throws IOException | |
| getPosition | back to summary |
|---|---|
| public int getPosition() | |
| readAllBytes | back to summary |
|---|---|
| private static byte[] readAllBytes(InputStream input) throws IOException | |
| readByte | back to summary |
|---|---|
| public byte readByte() throws IOException | |
| readShort | back to summary |
|---|---|
| public short readShort() throws IOException | |
| readUnsignedByte | back to summary |
|---|---|
| public int readUnsignedByte() throws IOException | |
| readUnsignedLong | back to summary |
|---|---|
| public long readUnsignedLong() throws IOException | |
| readUnsignedShort | back to summary |
|---|---|
| public int readUnsignedShort() throws IOException | |
| readUnsignedShortArray | back to summary |
|---|---|
| public int[] readUnsignedShortArray(int count) throws IOException | |
| seek | back to summary |
|---|---|
| public void seek(int position) | |