|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.afp.fonts.FontFamily
The font family is a collection of font resource information relating to a particular font identified by the font name. It contains information relating to the different styles, weights and point sizes that can be used within the font family.
| Field Summary | |
protected static org.apache.commons.logging.Log |
LOGGER
Static logging instance |
| Constructor Summary | |
FontFamily(java.lang.String name,
java.lang.String codepage,
java.lang.String encoding)
Construct a font object. |
|
| Method Summary | |
protected void |
addFont(BaseFont font)
Add a font object to the font family. |
java.lang.String |
getCodePage()
|
java.lang.String |
getEncoding()
Returns the encoding that should be used for this font code page |
BaseFont |
getFont(java.lang.String weight,
java.lang.String style)
|
java.util.Collection |
getFontCollection()
|
java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final org.apache.commons.logging.Log LOGGER
| Constructor Detail |
public FontFamily(java.lang.String name,
java.lang.String codepage,
java.lang.String encoding)
name - the font family namecodepage - the codepage to be usedencoding - the encoding of the font| Method Detail |
protected void addFont(BaseFont font)
font - the font to be added
public BaseFont getFont(java.lang.String weight,
java.lang.String style)
public java.lang.String getName()
public java.lang.String getCodePage()
public java.lang.String getEncoding()
public java.util.Collection getFontCollection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||