Package com.sun.pdfview.font.ttf
Class PostTable.PostMapFormat0
java.lang.Object
com.sun.pdfview.font.ttf.PostTable.PostMap
com.sun.pdfview.font.ttf.PostTable.PostMapFormat0
- Direct Known Subclasses:
PostTable.PostMapFormat2
- Enclosing class:
PostTable
A Format 0 post map
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) short
getCharIndex
(String charName) map a name to a character index(package private) String
getCharName
(char charIndex) name a character index to a name(package private) ByteBuffer
getData()
get the data in this map as a ByteBuffer(package private) int
get the length of the data in this map(package private) void
setData
(ByteBuffer data) set the data in this map from a ByteBuffer
-
Field Details
-
stdNames
the glyph names in standard Macintosh ordering
-
-
Constructor Details
-
PostMapFormat0
PostMapFormat0()
-
-
Method Details
-
getCharIndex
map a name to a character index- Overrides:
getCharIndex
in classPostTable.PostMap
-
getCharName
name a character index to a name- Overrides:
getCharName
in classPostTable.PostMap
-
getLength
int getLength()get the length of the data in this map- Overrides:
getLength
in classPostTable.PostMap
-
getData
ByteBuffer getData()get the data in this map as a ByteBuffer- Overrides:
getData
in classPostTable.PostMap
-
setData
set the data in this map from a ByteBuffer- Overrides:
setData
in classPostTable.PostMap
-