org.apache.fop.fonts
Class Typeface
java.lang.Object
org.apache.fop.fonts.Typeface
- FontMetrics
public abstract class Typeface
extends java.lang.Object
Base class for PDF font classes
abstract String | getEncoding() - Get the encoding of the font.
|
int | getMaxAscent(int size)
|
abstract boolean | hasChar(char c) - Determines whether this font contains a particular character/glyph.
|
boolean | isMultiByte() - Determines whether the font is a multibyte font.
|
abstract char | mapChar(char c) - Map a Unicode character to a code point in the font.
|
getEncoding
public abstract String getEncoding()
Get the encoding of the font.
hasChar
public abstract boolean hasChar(char c)
Determines whether this font contains a particular character/glyph.
- True if the character is supported, Falso otherwise
isMultiByte
public boolean isMultiByte()
Determines whether the font is a multibyte font.
mapChar
public abstract char mapChar(char c)
Map a Unicode character to a code point in the font.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.