Class AdobeGlyphList
java.lang.Object
org.loboevolution.pdfview.font.ttf.AdobeGlyphList
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getGlyphName
(int unicode) translate a unicode value into a glyph name.static Integer
getGlyphNameIndex
(String glyphName) return a single index for a glyph, though there may be multiples.static int[]
getUnicodeValues
(String glyphName) translate a glyph name into the possible unicode values that it might represent.
-
Method Details
-
getUnicodeValues
translate a glyph name into the possible unicode values that it might represent. It is possible to have more than one unicode value for a single glyph name.- Parameters:
glyphName
- aString
object.- Returns:
- int[]
-
getGlyphNameIndex
return a single index for a glyph, though there may be multiples.- Parameters:
glyphName
- aString
object.- Returns:
- Integer
-
getGlyphName
translate a unicode value into a glyph name. It is possible for different unicode values to translate into the same glyph name.- Parameters:
unicode
- aInteger
object.- Returns:
- String
-