Package com.sun.pdfview.font.ttf
Class PostTable.PostMapFormat2
- java.lang.Object
-
- com.sun.pdfview.font.ttf.PostTable.PostMap
-
- com.sun.pdfview.font.ttf.PostTable.PostMapFormat0
-
- com.sun.pdfview.font.ttf.PostTable.PostMapFormat2
-
- Enclosing class:
- PostTable
class PostTable.PostMapFormat2 extends PostTable.PostMapFormat0
an extension to handle format 2 post maps
-
-
Field Summary
Fields Modifier and Type Field Description (package private) short[]glyphNameIndexthe glyph name index(package private) java.lang.String[]glyphNamesthe glyph names-
Fields inherited from class com.sun.pdfview.font.ttf.PostTable.PostMapFormat0
stdNames
-
-
Constructor Summary
Constructors Constructor Description PostMapFormat2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) shortgetCharIndex(java.lang.String charName)Map a character name to an index(package private) java.lang.StringgetCharName(char charIndex)Map an index to a character name(package private) java.nio.ByteBuffergetData()get the data in this map as a byte array(package private) intgetLength()get the length of this class's data(package private) voidsetData(java.nio.ByteBuffer data)set the contents of this map from a ByteBuffer
-
-
-
Method Detail
-
getCharIndex
short getCharIndex(java.lang.String charName)
Map a character name to an index- Overrides:
getCharIndexin classPostTable.PostMapFormat0
-
getCharName
java.lang.String getCharName(char charIndex)
Map an index to a character name- Overrides:
getCharNamein classPostTable.PostMapFormat0
-
getLength
int getLength()
get the length of this class's data- Overrides:
getLengthin classPostTable.PostMapFormat0
-
getData
java.nio.ByteBuffer getData()
get the data in this map as a byte array- Overrides:
getDatain classPostTable.PostMapFormat0
-
setData
void setData(java.nio.ByteBuffer data)
set the contents of this map from a ByteBuffer- Overrides:
setDatain classPostTable.PostMapFormat0
-
-