|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is used to set the values of a font during configuration time.
| Method Summary | |
void |
putKerningEntry(java.lang.Integer key,
java.util.Map value)
Adds an entry to the kerning table. |
void |
setAscender(int ascender)
Sets the ascent value. |
void |
setCapHeight(int capHeight)
Sets the capital height value. |
void |
setDescender(int descender)
Sets the descent value. |
void |
setEmbedFileName(java.lang.String path)
Sets the path to the embeddable font file. |
void |
setEmbedResourceName(java.lang.String name)
Sets the resource name of the embeddable font file. |
void |
setFamilyNames(java.util.Set names)
Sets the font's family names (Example: "Helvetica"). |
void |
setFirstChar(int index)
Sets the index of the first character in the character table. |
void |
setFlags(int flags)
Sets the font's flags |
void |
setFontBBox(int[] bbox)
Sets the font's bounding box |
void |
setFontName(java.lang.String name)
Sets the "PostScript" font name (Example: "Helvetica-BoldOblique"). |
void |
setFontType(FontType fontType)
Sets the font type. |
void |
setFullName(java.lang.String name)
Sets the font's full name (usually the one that the operating system displays). |
void |
setItalicAngle(int italicAngle)
Sets the font's italic angle. |
void |
setKerningEnabled(boolean enabled)
Enables/disabled kerning. |
void |
setLastChar(int index)
Sets the index of the last character in the character table. |
void |
setMissingWidth(int width)
Sets the font's default width |
void |
setStemV(int stemV)
Sets the font's StemV value. |
| Method Detail |
public void setFontName(java.lang.String name)
name - font namepublic void setFullName(java.lang.String name)
name - font' full namepublic void setFamilyNames(java.util.Set names)
names - the font's family names (a Set of Strings)public void setEmbedFileName(java.lang.String path)
path - URI to the filepublic void setEmbedResourceName(java.lang.String name)
name - resource namepublic void setCapHeight(int capHeight)
capHeight - capital heightpublic void setAscender(int ascender)
ascender - ascent heightpublic void setDescender(int descender)
descender - descent valuepublic void setFontBBox(int[] bbox)
bbox - bounding boxpublic void setFlags(int flags)
flags - flagspublic void setStemV(int stemV)
stemV - StemVpublic void setItalicAngle(int italicAngle)
italicAngle - italic anglepublic void setMissingWidth(int width)
width - default widthpublic void setFontType(FontType fontType)
fontType - font typepublic void setFirstChar(int index)
index - index of first characterpublic void setLastChar(int index)
index - index of the last characterpublic void setKerningEnabled(boolean enabled)
enabled - True if kerning should be enabled if available
public void putKerningEntry(java.lang.Integer key,
java.util.Map value)
key - Kerning keyvalue - Kerning value
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||