org.apache.fop.render.afp.fonts
Class AFPFont
- FontMetrics
public abstract class AFPFont
All implemenations of AFP fonts should extend this base class,
the object implements the FontMetrics information.
protected String | _name - The font name
|
AFPFont(String name) - Constructor for the base font requires the name.
|
_name
protected String _name
The font name
AFPFont
public AFPFont(String name)
Constructor for the base font requires the name.
name
- the name of the font
getCharacterSet
public abstract CharacterSet getCharacterSet(int size)
Returns the character set for a given size
hasChar
public boolean hasChar(char c)
Determines whether this font contains a particular character/glyph.
- hasChar in interface Typeface
- True if the character is supported, Falso otherwise
hasKerningInfo
public boolean hasKerningInfo()
Indicates if the font has kering information.
- hasKerningInfo in interface FontMetrics
- True, if kerning is available.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.