org.apache.fop.fonts
Class Glyphs

java.lang.Object
  extended byorg.apache.fop.fonts.Glyphs

public class Glyphs
extends Object


Field Summary
static String[] mac_glyph_names
           
static String notdef
           
static String[] tex8r
           
static String[] unicode_glyphs
           
static char[] winAnsiEncoding
          The characters in WinAnsiEncoding
 
Constructor Summary
Glyphs()
           
 
Method Summary
static String charToGlyphName(char ch)
          Return the glyphname from a character, eg, charToGlyphName('\\') returns "backslash"
static String glyphToString(String name)
          Return the glyphname from a string, eg, glyphToString("\\") returns "backslash"
static String stringToGlyph(String name)
          Return the string representation of a glyphname, eg stringToGlyph("backslash") returns "\\"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notdef

public static final String notdef
See Also:
Constant Field Values

mac_glyph_names

public static final String[] mac_glyph_names

tex8r

public static final String[] tex8r

winAnsiEncoding

public static final char[] winAnsiEncoding
The characters in WinAnsiEncoding


unicode_glyphs

public static final String[] unicode_glyphs
Constructor Detail

Glyphs

public Glyphs()
Method Detail

charToGlyphName

public static final String charToGlyphName(char ch)
Return the glyphname from a character, eg, charToGlyphName('\\') returns "backslash"

Parameters:
ch - glyph to evaluate
Returns:
the name of the glyph

glyphToString

public static String glyphToString(String name)
Return the glyphname from a string, eg, glyphToString("\\") returns "backslash"


stringToGlyph

public static String stringToGlyph(String name)
Return the string representation of a glyphname, eg stringToGlyph("backslash") returns "\\"



Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.