public final class GlyphList
extends java.lang.Object
| Constructor | Description |
|---|---|
GlyphList(java.io.InputStream input,
int numberOfEntries) |
Creates a new GlyphList from a glyph list file.
|
GlyphList(GlyphList glyphList,
java.io.InputStream input) |
Creates a new GlyphList from multiple glyph list files.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
codePointToName(int codePoint) |
Returns the name for the given Unicode code point.
|
static GlyphList |
getAdobeGlyphList() |
Returns the Adobe Glyph List (AGL).
|
static GlyphList |
getZapfDingbats() |
Returns the Zapf Dingbats glyph list.
|
java.lang.String |
sequenceToName(java.lang.String unicodeSequence) |
Returns the name for a given sequence of Unicode characters.
|
java.lang.String |
toUnicode(java.lang.String name) |
Returns the Unicode character sequence for the given glyph name, or null if there isn't any.
|
public GlyphList(java.io.InputStream input,
int numberOfEntries)
throws java.io.IOException
numberOfEntries - number of expected values used to preallocate the correct amount of memoryinput - glyph list in Adobe formatjava.io.IOException - if the glyph list could not be readpublic GlyphList(GlyphList glyphList, java.io.InputStream input) throws java.io.IOException
glyphList - an existing glyph list to be copiedinput - glyph list in Adobe formatjava.io.IOException - if the glyph list could not be readpublic static GlyphList getAdobeGlyphList()
public static GlyphList getZapfDingbats()
public java.lang.String codePointToName(int codePoint)
codePoint - Unicode code pointpublic java.lang.String sequenceToName(java.lang.String unicodeSequence)
unicodeSequence - sequence of Unicode characterspublic java.lang.String toUnicode(java.lang.String name)
name - PostScript glyph nameCopyright © 2002–2018. All rights reserved.