public final class GlyphList extends Object
Constructor and Description |
---|
GlyphList(GlyphList glyphList,
InputStream input)
Creates a new GlyphList from multiple glyph list files.
|
GlyphList(InputStream input,
int numberOfEntries)
Creates a new GlyphList from a glyph list file.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
sequenceToName(String unicodeSequence)
Returns the name for a given sequence of Unicode characters.
|
String |
toUnicode(String name)
Returns the Unicode character sequence for the given glyph name, or null if there isn't any.
|
public GlyphList(InputStream input, int numberOfEntries) throws IOException
numberOfEntries
- number of expected values used to preallocate the correct amount of memoryinput
- glyph list in Adobe formatIOException
- if the glyph list could not be readpublic GlyphList(GlyphList glyphList, InputStream input) throws IOException
glyphList
- an existing glyph list to be copiedinput
- glyph list in Adobe formatIOException
- if the glyph list could not be readpublic static GlyphList getAdobeGlyphList()
public static GlyphList getZapfDingbats()
public String codePointToName(int codePoint)
codePoint
- Unicode code pointpublic String sequenceToName(String unicodeSequence)
unicodeSequence
- sequence of Unicode charactersCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.