public interface MutableFont
| Modifier and Type | Method and Description |
|---|---|
void |
putKerningEntry(Integer key,
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(String path)
Sets the path to the embeddable font file.
|
void |
setEmbedResourceName(String name)
Sets the resource name of the embeddable font file.
|
void |
setFamilyNames(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(String name)
Sets the "PostScript" font name (Example: "Helvetica-BoldOblique").
|
void |
setFontType(FontType fontType)
Sets the font type.
|
void |
setFullName(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.
|
void setFontName(String name)
name - font namevoid setFullName(String name)
name - font' full namevoid setFamilyNames(Set names)
names - the font's family names (a Set of Strings)void setEmbedFileName(String path)
path - URI to the filevoid setEmbedResourceName(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 availableCopyright © 2007-2020. All Rights Reserved.