public class KerningSubtable extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getKerning(int l,
int r)
Obtain kerning adjustment for glyph pair {L,R}.
|
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.
|
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.
|
public boolean isHorizontalKerning()
public boolean isHorizontalKerning(boolean cross)
cross
- if true, then return cross stream designator in horizontal modespublic int[] getKerning(int[] glyphs)
glyphs
- a (possibly empty) array of glyph identifierspublic int getKerning(int l, int r)
l
- left member of glyph pairr
- right member of glyph pairCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.