|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.Typeface
org.apache.fop.render.afp.fonts.AFPFont
public abstract class AFPFont
All implementations of AFP fonts should extend this base class, the object implements the FontMetrics information.
Field Summary | |
---|---|
protected java.lang.String |
name
The font name |
Constructor Summary | |
---|---|
AFPFont(java.lang.String name)
Constructor for the base font requires the name. |
Method Summary | |
---|---|
abstract CharacterSet |
getCharacterSet(int size)
Returns the character set for a given size |
java.lang.String |
getEmbedFontName()
Returns the font name for font embedding (may include a prefix, Example: "1E28bcArialMT"). |
java.util.Set |
getFamilyNames()
Returns the font's family names as a Set of Strings (Example: "Helvetica"). |
java.lang.String |
getFontName()
Returns the "PostScript" font name (Example: "Helvetica-BoldOblique"). |
FontType |
getFontType()
Returns the type of the font. |
java.lang.String |
getFullName()
Returns the font's full name (Example: "Helvetica Bold Oblique"). |
java.util.Map |
getKerningInfo()
Returns the kerning map for the font. |
boolean |
hasChar(char c)
Determines whether this font contains a particular character/glyph. |
boolean |
hasKerningInfo()
Indicates if the font has kerning information. |
Methods inherited from class org.apache.fop.fonts.Typeface |
---|
getEncoding, getMaxAscent, hadMappingOperations, isMultiByte, mapChar, notifyMapOperation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.fop.fonts.FontMetrics |
---|
getAscender, getCapHeight, getDescender, getWidth, getWidths, getXHeight |
Field Detail |
---|
protected java.lang.String name
Constructor Detail |
---|
public AFPFont(java.lang.String name)
name
- the name of the fontMethod Detail |
---|
public java.lang.String getFontName()
public java.lang.String getEmbedFontName()
public java.lang.String getFullName()
public java.util.Set getFamilyNames()
public FontType getFontType()
public boolean hasKerningInfo()
public java.util.Map getKerningInfo()
public abstract CharacterSet getCharacterSet(int size)
size
- the font size
public boolean hasChar(char c)
hasChar
in class Typeface
c
- character to check
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |