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[]
glyphNameIndex
the glyph name index(package private) java.lang.String[]
glyphNames
the 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) short
getCharIndex(java.lang.String charName)
Map a character name to an index(package private) java.lang.String
getCharName(char charIndex)
Map an index to a character name(package private) java.nio.ByteBuffer
getData()
get the data in this map as a byte array(package private) int
getLength()
get the length of this class's data(package private) void
setData(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:
getCharIndex
in classPostTable.PostMapFormat0
-
getCharName
java.lang.String getCharName(char charIndex)
Map an index to a character name- Overrides:
getCharName
in classPostTable.PostMapFormat0
-
getLength
int getLength()
get the length of this class's data- Overrides:
getLength
in classPostTable.PostMapFormat0
-
getData
java.nio.ByteBuffer getData()
get the data in this map as a byte array- Overrides:
getData
in classPostTable.PostMapFormat0
-
setData
void setData(java.nio.ByteBuffer data)
set the contents of this map from a ByteBuffer- Overrides:
setData
in classPostTable.PostMapFormat0
-
-