|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableFont
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 |
---|
void setFontName(java.lang.String name)
name
- font namevoid setFullName(java.lang.String name)
name
- font' full namevoid setFamilyNames(java.util.Set names)
names
- the font's family names (a Set of Strings)void setEmbedFileName(java.lang.String path)
path
- URI to the filevoid setEmbedResourceName(java.lang.String name)
name
- resource namevoid setCapHeight(int capHeight)
capHeight
- capital heightvoid setAscender(int ascender)
ascender
- ascent heightvoid setDescender(int descender)
descender
- descent valuevoid setFontBBox(int[] bbox)
bbox
- bounding boxvoid setFlags(int flags)
flags
- flagsvoid setStemV(int stemV)
stemV
- StemVvoid setItalicAngle(int italicAngle)
italicAngle
- italic anglevoid setMissingWidth(int width)
width
- default widthvoid setFontType(FontType fontType)
fontType
- font typevoid setFirstChar(int index)
index
- index of first charactervoid setLastChar(int index)
index
- index of the last charactervoid setKerningEnabled(boolean enabled)
enabled
- True if kerning should be enabled if availablevoid putKerningEntry(java.lang.Integer key, java.util.Map value)
key
- Kerning keyvalue
- Kerning value
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |