Package org.apache.fop.fonts
Class Glyphs
java.lang.Object
org.apache.fop.fonts.Glyphs
Deprecated.
Use the Glyphs class from XML Graphics Commons instead!
This class provides a number of constants for glyph management.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
Deprecated.Glyph names for Mac encodingstatic final String
Deprecated.Glyph name for the "notdef" glyphstatic final String[]
Deprecated.Glyph names for tex8r encodingstatic final String[]
Deprecated.List of unicode glyphsstatic final char[]
Deprecated.The characters in WinAnsiEncoding -
Method Summary
Modifier and TypeMethodDescriptionstatic String
charToGlyphName
(char ch) Deprecated.Return the glyphname from a character, eg, charToGlyphName('\\') returns "backslash"static String
glyphToString
(String name) Deprecated.Return the glyphname from a string, eg, glyphToString("\\") returns "backslash"static String
stringToGlyph
(String name) Deprecated.Return the string representation of a glyphname, eg stringToGlyph("backslash") returns "\\"
-
Field Details
-
NOTDEF
Deprecated.Glyph name for the "notdef" glyph- See Also:
-
MAC_GLYPH_NAMES
Deprecated.Glyph names for Mac encoding -
TEX8R_GLYPH_NAMES
Deprecated.Glyph names for tex8r encoding -
WINANSI_ENCODING
public static final char[] WINANSI_ENCODINGDeprecated.The characters in WinAnsiEncoding -
UNICODE_GLYPHS
Deprecated.List of unicode glyphs
-
-
Method Details
-
charToGlyphName
Deprecated.Return the glyphname from a character, eg, charToGlyphName('\\') returns "backslash"- Parameters:
ch
- glyph to evaluate- Returns:
- the name of the glyph
-
glyphToString
Deprecated.Return the glyphname from a string, eg, glyphToString("\\") returns "backslash"- Parameters:
name
- glyph to evaluate- Returns:
- the name of the glyph TODO: javadocs for glyphToString and stringToGlyph are confused TODO: Improve method names
-
stringToGlyph
Deprecated.Return the string representation of a glyphname, eg stringToGlyph("backslash") returns "\\"- Parameters:
name
- name of the glyph- Returns:
- the string representation
-