Package org.apache.fontbox.ttf
Class CmapSubtable.SubHeader
- java.lang.Object
-
- org.apache.fontbox.ttf.CmapSubtable.SubHeader
-
- Enclosing class:
- CmapSubtable
private static class CmapSubtable.SubHeader extends java.lang.ObjectClass used to manage CMap - Format 2.
-
-
Field Summary
Fields Modifier and Type Field Description private intentryCountprivate intfirstCodeprivate shortidDeltaused to compute the GlyphIndex : P = glyphIndexArray.SubArray[pos] GlyphIndex = P + idDelta % 65536.private intidRangeOffsetNumber of bytes to skip to reach the firstCode in the glyphIndexArray.
-
Constructor Summary
Constructors Modifier Constructor Description privateSubHeader(int firstCodeValue, int entryCountValue, short idDeltaValue, int idRangeOffsetValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private intgetEntryCount()private intgetFirstCode()private shortgetIdDelta()private intgetIdRangeOffset()
-
-
-
Field Detail
-
firstCode
private final int firstCode
-
entryCount
private final int entryCount
-
idDelta
private final short idDelta
used to compute the GlyphIndex : P = glyphIndexArray.SubArray[pos] GlyphIndex = P + idDelta % 65536.
-
idRangeOffset
private final int idRangeOffset
Number of bytes to skip to reach the firstCode in the glyphIndexArray.
-
-