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)
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.
|
Boolean |
containsGlyphName(String glyphName) |
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) throws IOException
input - 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 characterspublic String toUnicode(String name)
name - PostScript glyph nameCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.