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
class PostTable.PostMapFormat0 extends PostTable.PostMap
A Format 0 post map
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]
stdNames
the glyph names in standard Macintosh ordering
-
Constructor Summary
Constructors Constructor Description PostMapFormat0()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) short
getCharIndex(java.lang.String charName)
map a name to a character index(package private) java.lang.String
getCharName(char charIndex)
name a character index to a name(package private) java.nio.ByteBuffer
getData()
get the data in this map as a ByteBuffer(package private) int
getLength()
get the length of the data in this map(package private) void
setData(java.nio.ByteBuffer data)
set the data in this map from a ByteBuffer
-
-
-
Method Detail
-
getCharIndex
short getCharIndex(java.lang.String charName)
map a name to a character index- Overrides:
getCharIndex
in classPostTable.PostMap
-
getCharName
java.lang.String getCharName(char charIndex)
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
java.nio.ByteBuffer getData()
get the data in this map as a ByteBuffer- Overrides:
getData
in classPostTable.PostMap
-
setData
void setData(java.nio.ByteBuffer data)
set the data in this map from a ByteBuffer- Overrides:
setData
in classPostTable.PostMap
-
-