| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private boolean | |
| private boolean | |
| private static final Log | |
| private boolean | |
| private KerningSubtable. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public int[] | Returns: a (possibly empty) array of kerning adjustmentsa (possibly empty) array of glyph identifiers glyphs)Obtain kerning adjustments for GLYPHS sequence, where the Nth returned adjustment is associated with the Nth glyph and the succeeding non-zero glyph in the GLYPHS sequence. |
| public int | Returns: a (possibly zero) kerning adjustmentleft member of glyph pair l, int right member of glyph pair r)Obtain kerning adjustment for glyph pair {L,R}. |
| private static boolean | |
| public boolean | Returns: true if subtable is for horizontal kerningDetermine if subtable is designated for use in horizontal writing modes and contains inline progression kerning pairs (not block progression "cross stream") kerning pairs. |
| public boolean | Returns: true if subtable is for horizontal kerning in horizontal modesif true, then return cross stream designator in horizontal modes cross)Determine if subtable is designated for use in horizontal writing modes, contains kerning pairs (as opposed to minimum pairs), and, if CROSS is true, then return cross stream designator; otherwise, if CROSS is false, return true if cross stream designator is false. |
| pack-priv void | read(TTFDataStream
The stream to read the data from. data, int The version of the table to be read version)This will read the required data from the stream. |
| private void | |
| private void | |
| private void | |
| private void |
| COVERAGE_CROSS_STREAM | back to summary |
|---|---|
| private static final int COVERAGE_CROSS_STREAM | |
| COVERAGE_CROSS_STREAM_SHIFT | back to summary |
|---|---|
| private static final int COVERAGE_CROSS_STREAM_SHIFT | |
| COVERAGE_FORMAT | back to summary |
|---|---|
| private static final int COVERAGE_FORMAT | |
| COVERAGE_FORMAT_SHIFT | back to summary |
|---|---|
| private static final int COVERAGE_FORMAT_SHIFT | |
| COVERAGE_HORIZONTAL | back to summary |
|---|---|
| private static final int COVERAGE_HORIZONTAL | |
| COVERAGE_HORIZONTAL_SHIFT | back to summary |
|---|---|
| private static final int COVERAGE_HORIZONTAL_SHIFT | |
| COVERAGE_MINIMUMS | back to summary |
|---|---|
| private static final int COVERAGE_MINIMUMS | |
| COVERAGE_MINIMUMS_SHIFT | back to summary |
|---|---|
| private static final int COVERAGE_MINIMUMS_SHIFT | |
| crossStream | back to summary |
|---|---|
| private boolean crossStream | |
| horizontal | back to summary |
|---|---|
| private boolean horizontal | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| minimums | back to summary |
|---|---|
| private boolean minimums | |
| pairs | back to summary |
|---|---|
| private KerningSubtable. | |
| KerningSubtable | back to summary |
|---|---|
| pack-priv KerningSubtable() | |
| getBits | back to summary |
|---|---|
| private static int getBits(int bits, int mask, int shift) | |
| getKerning | back to summary |
|---|---|
| public int[] getKerning(int[] glyphs) Obtain kerning adjustments for GLYPHS sequence, where the Nth returned adjustment is associated with the Nth glyph and the succeeding non-zero glyph in the GLYPHS sequence. Kerning adjustments are returned in font design coordinates.
| |
| getKerning | back to summary |
|---|---|
| public int getKerning(int l, int r) Obtain kerning adjustment for glyph pair {L,R}.
| |
| isBitsSet | back to summary |
|---|---|
| private static boolean isBitsSet(int bits, int mask, int shift) | |
| isHorizontalKerning | back to summary |
|---|---|
| public boolean isHorizontalKerning() Determine if subtable is designated for use in horizontal writing modes and contains inline progression kerning pairs (not block progression "cross stream") kerning pairs.
| |
| isHorizontalKerning | back to summary |
|---|---|
| public boolean isHorizontalKerning(boolean cross) Determine if subtable is designated for use in horizontal writing modes, contains kerning pairs (as opposed to minimum pairs), and, if CROSS is true, then return cross stream designator; otherwise, if CROSS is false, return true if cross stream designator is false.
| |
| read | back to summary |
|---|---|
| pack-priv void read(TTFDataStream data, int version) throws IOException This will read the required data from the stream.
| |
| readSubtable0 | back to summary |
|---|---|
| private void readSubtable0(TTFDataStream data) throws IOException | |
| readSubtable0Format0 | back to summary |
|---|---|
| private void readSubtable0Format0(TTFDataStream data) throws IOException | |
| readSubtable0Format2 | back to summary |
|---|---|
| private void readSubtable0Format2(TTFDataStream data) | |
| readSubtable1 | back to summary |
|---|---|
| private void readSubtable1(TTFDataStream data) | |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void |
| getKerning | back to summary |
|---|---|
| public int getKerning(int l, int r) | |
| read | back to summary |
|---|---|
| public void read(TTFDataStream data) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private int[][] | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(int[]
the first object to be compared. p1, int[] the second object to be compared. p2)Implements java. Compares its two arguments for order. |
| public int | |
| public void |
| pairs | back to summary |
|---|---|
| private int[][] pairs | |
| searchRange | back to summary |
|---|---|
| private int searchRange | |
| PairData0Format0 | back to summary |
|---|---|
| private PairData0Format0() | |
| compare | back to summary |
|---|---|
| public int compare(int[] p1, int[] p2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| getKerning | back to summary |
|---|---|
| public int getKerning(int l, int r) Implements org.
| |
| read | back to summary |
|---|---|
| public void read(TTFDataStream data) throws IOException Implements org.
| |