Class PostTable.PostMapFormat2
java.lang.Object
org.openpdf.renderer.font.ttf.PostTable.PostMap
org.openpdf.renderer.font.ttf.PostTable.PostMapFormat0
org.openpdf.renderer.font.ttf.PostTable.PostMapFormat2
- Enclosing class:
PostTable
an extension to handle format 2 post maps
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) short[]the glyph name index(package private) String[]the glyph namesFields inherited from class PostTable.PostMapFormat0
stdNames -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) shortgetCharIndex(String charName) map a name to a character index(package private) StringgetCharName(char charIndex) name a character index to a name(package private) ByteBuffergetData()get the data in this map as a ByteBuffer(package private) intget the length of the data in this map(package private) voidsetData(ByteBuffer data) set the data in this map from a ByteBuffer
-
Field Details
-
glyphNameIndex
short[] glyphNameIndexthe glyph name index -
glyphNames
String[] glyphNamesthe glyph names
-
-
Constructor Details
-
PostMapFormat2
PostMapFormat2()
-
-
Method Details
-
getCharIndex
Description copied from class:PostTable.PostMapmap a name to a character index- Overrides:
getCharIndexin classPostTable.PostMapFormat0
-
getCharName
Description copied from class:PostTable.PostMapname a character index to a name- Overrides:
getCharNamein classPostTable.PostMapFormat0
-
getLength
int getLength()Description copied from class:PostTable.PostMapget the length of the data in this map- Overrides:
getLengthin classPostTable.PostMapFormat0
-
getData
ByteBuffer getData()Description copied from class:PostTable.PostMapget the data in this map as a ByteBuffer- Overrides:
getDatain classPostTable.PostMapFormat0
-
setData
Description copied from class:PostTable.PostMapset the data in this map from a ByteBuffer- Overrides:
setDatain classPostTable.PostMapFormat0
-