|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.encoding.GlyphNameMap
public class GlyphNameMap
The mapping from Adobe glyph names to Unicode.
Currently only "Latin" encoding is included.
todo 2 cmap read externalized representation from adobe
Field Summary | |
---|---|
static String |
GLYPH_NOTDEF
|
static GlyphNameMap |
Standard
|
Method Summary | |
---|---|
String |
getGlyphName(int unicode)
Get the adobe glyph name for a unicode code point or ".notdef" if not available. |
int |
getUnicode(String glyphName)
Get the unicode code point for an Adobe glyph name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GlyphNameMap Standard
public static final String GLYPH_NOTDEF
Method Detail |
---|
public String getGlyphName(int unicode)
unicode
- The unicode code point to look up.
public int getUnicode(String glyphName)
If the glyph name is unknown, -1 is returned.
glyphName
- An adobe glyph name.
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |