public final class IndexSubTableFormat4 extends IndexSubTable
Modifier and Type | Class and Description |
---|---|
static class |
IndexSubTableFormat4.Builder |
static class |
IndexSubTableFormat4.CodeOffsetPair |
static class |
IndexSubTableFormat4.CodeOffsetPairBuilder |
IndexSubTable.Format
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<IndexSubTableFormat4.CodeOffsetPair> |
CodeOffsetPairComparatorByGlyphCode |
Modifier and Type | Method and Description |
---|---|
int |
glyphLength(int glyphId) |
int |
glyphStartOffset(int glyphId)
Gets the offset of the glyph relative to the block for this index subtable.
|
int |
numGlyphs() |
firstGlyphIndex, glyphInfo, glyphOffset, imageDataOffset, imageFormat, indexFormat, lastGlyphIndex, toString
dataLength, readFontData, serialize
public static final java.util.Comparator<IndexSubTableFormat4.CodeOffsetPair> CodeOffsetPairComparatorByGlyphCode
public int numGlyphs()
numGlyphs
in class IndexSubTable
public int glyphStartOffset(int glyphId)
IndexSubTable
glyphStartOffset
in class IndexSubTable
glyphId
- the glyph idpublic int glyphLength(int glyphId)
glyphLength
in class IndexSubTable