com.sun.pdfview.font
public class FontSupport extends Object
Field Summary | |
---|---|
static int[] | isoLatin1Encoding
character mapping from values to glyphs for the isoLatin1Encoding |
static String[] | macExtras
extra names for the Macintosh glyph set. |
static int[] | macRomanEncoding
character mapping from values to glyphs for the Macintosh MacRoman
encoding |
static int[] | standardEncoding
character mapping from values to glyphs for Adobe's standard
character encoding |
static String[] | stdNames
names for glyphs in the standard Adobe order. |
static int[] | type1CExpertCharset
glyph order of the glyphs for the Type1C Expert character set. |
static int[] | type1CExpertSubCharset
glyph order of the glyphs for the Type1C Expert Sub character set.
|
static int[] | winAnsiEncoding
character mapping from values to glyphs for the Windows winAnsi
character encoding |
Method Summary | |
---|---|
static int | findName(String name, String[] table)
get the encoding value a glyph given its name and a name table. |
static int | findName(String name, int[] table)
get the encoding value of a glyph given its name and a charset. |
static String | getName(int i)
get the name of a glyph from its encoding value (NOT the character
value), using the standard encoding. |
static int | getStrIndex(String name)
get the encoding value of a glyph given its name, in the standard
charset. |
Parameters: name the name of the glyph table the charset as an array of names
Returns: the index of the name in the table, or -1 if the name cannot be found in the table
Parameters: name the name of the glyph table the charset table
Returns: the index of the name in the charset.
Parameters: name the name of the glyph
Returns: the index of the name in stdNames, or -1 if the name doesn't appear in stdNames.