|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pdfview.font.FontSupport
public class FontSupport
some constants and utility functions for font support.
Field Summary | |
---|---|
static int[] |
isoLatin1Encoding
character mapping from values to glyphs for the isoLatin1Encoding |
static java.lang.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 java.lang.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 |
Constructor Summary | |
---|---|
FontSupport()
|
Method Summary | |
---|---|
static int |
findName(java.lang.String name,
int[] table)
get the encoding value of a glyph given its name and a charset. |
static int |
findName(java.lang.String name,
java.lang.String[] table)
get the encoding value a glyph given its name and a name table. |
static java.lang.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(java.lang.String name)
get the encoding value of a glyph given its name, in the standard charset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] stdNames
public static final int[] type1CExpertCharset
public static final int[] type1CExpertSubCharset
public static final java.lang.String[] macExtras
public static final int[] macRomanEncoding
public static final int[] isoLatin1Encoding
public static final int[] winAnsiEncoding
public static final int[] standardEncoding
Constructor Detail |
---|
public FontSupport()
Method Detail |
---|
public static java.lang.String getName(int i)
public static int findName(java.lang.String name, java.lang.String[] table)
name
- the name of the glyphtable
- the charset as an array of names
public static int findName(java.lang.String name, int[] table)
name
- the name of the glyphtable
- the charset table
public static int getStrIndex(java.lang.String name)
name
- the name of the glyph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |