public final class CMapFormat4 extends CMap
| Modifier and Type | Class and Description |
|---|---|
static class |
CMapFormat4.Builder |
CMap.CMapFormat| Modifier and Type | Method and Description |
|---|---|
int |
endCode(int segment)
Gets the end code for a segment.
|
int |
getSegCount()
Gets the count of the number of segments in this cmap.
|
int |
glyphId(int character)
Gets the glyph id for the character code provided.
|
int |
idDelta(int segment)
Gets the id delta for a segment.
|
int |
idRangeOffset(int segment)
Gets the id range offset for a segment.
|
int |
idRangeOffsetLocation(int segment)
Get the location of the id range offset for a segment.
|
java.util.Iterator<java.lang.Integer> |
iterator() |
int |
language()
Gets the language of the cmap.
|
int |
retrieveGlyphId(int segment,
int startCode,
int character)
Lower level glyph code retrieval that requires processing the Format 4 segments to use.
|
int |
startCode(int segment)
Gets the start code for a segment.
|
cmapId, encodingId, equals, format, hashCode, platformId, toStringdataLength, readFontData, serializepublic int glyphId(int character)
CMappublic int retrieveGlyphId(int segment,
int startCode,
int character)
segment - the cmap segmentstartCode - the start code for the segmentcharacter - the character to be looked uppublic int getSegCount()
public int startCode(int segment)
segment - the segment in the look up tablepublic int endCode(int segment)
segment - the segment in the look up tablepublic int idDelta(int segment)
segment - the segment in the look up tablepublic int idRangeOffset(int segment)
segment - the segment in the look up tablepublic int idRangeOffsetLocation(int segment)
segment - the segment in the look up tablepublic int language()
CMappublic java.util.Iterator<java.lang.Integer> iterator()