Class GlyphNames
java.lang.Object
com.adobe.fontengine.font.opentype.GlyphNames
This class supports PostScript glyph names.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateUPlusName(int usv) static MapReturn the Adobe glyph name list as a HashMap with the glyph name as its key and the Unicode for that name as its value.static MapReturn the Adobe glyph name list as a HashMap with the glyph name as its key and the Unicode for that name as its value.static StringgetAGNCNameSuffix(String name) The suffix of the name as per the Adobe Glyph Naming Convention.static MapReturn the Dingbat name list as a HashMap with the glyph name as its key and the Unicode for that name as its value.static ListresolveAGNCName(String name, boolean isDingbats) Find the mapping of a name via the Adobe Glyph Naming convention.static int[]resolveAGNCNameIntoArray(String name, boolean isDingbats) A convenience method wrapping resolveAGNCName for code that wants arrays and not collection objects.static StringresolveUSVToAGNCName(int usv) static StringresolveUSVWithAGNCNameTable(int usv)
-
Constructor Details
-
GlyphNames
public GlyphNames()
-
-
Method Details
-
resolveUSVWithAGNCNameTable
-
resolveUSVToAGNCName
-
generateUPlusName
- Parameters:
usv-- Returns:
- the "name" of the Unicode scalar value in the form 'u' followed by the hex representation (see PDF 1.6 specs)
-
resolveAGNCName
Find the mapping of a name via the Adobe Glyph Naming convention.- Parameters:
name- the String containing the name to resolveisDingbats- whether the name is that of the Dingbats font- Returns:
- List containing the USVs described by the name
-
resolveAGNCNameIntoArray
A convenience method wrapping resolveAGNCName for code that wants arrays and not collection objects.- Parameters:
name- the String containing the name to resolveisDingbats- whether the name is that of the Dingbats font- Returns:
- array containing the USVs described by the name
-
getAGNCNameSuffix
The suffix of the name as per the Adobe Glyph Naming Convention.- Parameters:
name- the String containing the name to resolve
-
getAdobeGlyphNameList
Return the Adobe glyph name list as a HashMap with the glyph name as its key and the Unicode for that name as its value. -
getAdobeGlyphNameListMulti
Return the Adobe glyph name list as a HashMap with the glyph name as its key and the Unicode for that name as its value. -
getDingbatNameList
Return the Dingbat name list as a HashMap with the glyph name as its key and the Unicode for that name as its value.
-