fop 0.94 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.fop.fonts.Typeface
org.apache.fop.fonts.CustomFont
Method Summary | |
int | |
int |
|
int | |
int |
|
int | |
int |
|
String |
|
Source |
|
String |
|
int |
|
int |
|
int[] | |
String | |
String |
|
FontType | |
int | |
Map | |
int |
|
int |
|
int |
|
String | |
int |
|
boolean | |
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.apache.fop.fonts.Typeface | |
getEncoding , getMaxAscent , hasChar , isMultiByte , mapChar |
public int getAscender()
- Specified by:
- getAscender in interface FontDescriptor
- See Also:
FontDescriptor.getAscender()
public int getAscender(int size)
- Specified by:
- getAscender in interface FontMetrics
- See Also:
FontMetrics.getAscender(int)
public int getCapHeight()
- Specified by:
- getCapHeight in interface FontDescriptor
- See Also:
FontDescriptor.getCapHeight()
public int getCapHeight(int size)
- Specified by:
- getCapHeight in interface FontMetrics
- See Also:
FontMetrics.getCapHeight(int)
public int getDescender()
- Specified by:
- getDescender in interface FontDescriptor
- See Also:
FontDescriptor.getDescender()
public int getDescender(int size)
- Specified by:
- getDescender in interface FontMetrics
- See Also:
FontMetrics.getDescender(int)
public String getEmbedFileName()
Returns an URI representing an embeddable font file. The URI will often be a filename or an URL.
- Returns:
- URI to an embeddable font file or null if not available.
public Source getEmbedFileSource() throws IOException
Returns a Source representing an embeddable font file.
- Returns:
- Source for an embeddable font file
public String getEmbedResourceName()
Returns the lookup name to an embeddable font file available as a resource. (todo) Remove this method, this should be done using a resource: URI.
- Returns:
- the lookup name
public int getFirstChar()
Returns the index of the first character defined in this font.
- Returns:
- the index of the first character
public int getFlags()
- Specified by:
- getFlags in interface FontDescriptor
- See Also:
FontDescriptor.getFlags()
public int[] getFontBBox()
- Specified by:
- getFontBBox in interface FontDescriptor
- See Also:
FontDescriptor.getFontBBox()
public String getFontName()
- Specified by:
- getFontName in interface FontMetrics
- See Also:
FontMetrics.getFontName()
public String getFontSubName()
Returns font's subfamily name.
- Returns:
- the font's subfamily name
public FontType getFontType()
- Specified by:
- getFontType in interface FontMetrics
- See Also:
org.apache.fop.fonts.FontDescriptor.getFontType()
public int getItalicAngle()
- Specified by:
- getItalicAngle in interface FontDescriptor
- See Also:
FontDescriptor.getItalicAngle()
public final Map getKerningInfo()
- Specified by:
- getKerningInfo in interface FontMetrics
- See Also:
FontMetrics.getKerningInfo()
public int getLastChar()
Returns the index of the last character defined in this font.
- Returns:
- the index of the last character
public int getMissingWidth()
Returns the width to be used when no width is available.
- Returns:
- a character width
public int getStemV()
- Specified by:
- getStemV in interface FontDescriptor
- See Also:
FontDescriptor.getStemV()
public String getStrippedFontName()
- See Also:
org.apache.fop.fonts.FontMetrics.getStrippedFontName()
public int getXHeight(int size)
- Specified by:
- getXHeight in interface FontMetrics
- See Also:
FontMetrics.getXHeight(int)
public final boolean hasKerningInfo()
- Specified by:
- hasKerningInfo in interface FontMetrics
- See Also:
FontMetrics.hasKerningInfo()
public boolean isKerningEnabled()
Used to determine if kerning is enabled.
- Returns:
- True if kerning is enabled.
public void putKerningEntry(Integer key, Map value)
- Specified by:
- putKerningEntry in interface MutableFont
public void setAscender(int ascender)
- Specified by:
- setAscender in interface MutableFont
- See Also:
MutableFont.setAscender(int)
public void setCapHeight(int capHeight)
- Specified by:
- setCapHeight in interface MutableFont
- See Also:
MutableFont.setCapHeight(int)
public void setDescender(int descender)
- Specified by:
- setDescender in interface MutableFont
- See Also:
MutableFont.setDescender(int)
public void setEmbedFileName(String path)
- Specified by:
- setEmbedFileName in interface MutableFont
- See Also:
MutableFont.setEmbedFileName(String)
public void setEmbedResourceName(String name)
- Specified by:
- setEmbedResourceName in interface MutableFont
public void setFirstChar(int index)
- Specified by:
- setFirstChar in interface MutableFont
- See Also:
MutableFont.setFirstChar(int)
public void setFlags(int flags)
- Specified by:
- setFlags in interface MutableFont
- See Also:
MutableFont.setFlags(int)
public void setFontBBox(int[] bbox)
- Specified by:
- setFontBBox in interface MutableFont
- See Also:
MutableFont.setFontBBox(int[])
public void setFontName(String name)
- Specified by:
- setFontName in interface MutableFont
- See Also:
MutableFont.setFontName(String)
public void setFontSubFamilyName(String subFamilyName)
Sets the font's subfamily name.
- Parameters:
subFamilyName
- the subfamily name of the font
public void setFontType(FontType fontType)
- Specified by:
- setFontType in interface MutableFont
- See Also:
MutableFont.setFontType(FontType)
public void setItalicAngle(int italicAngle)
- Specified by:
- setItalicAngle in interface MutableFont
- See Also:
MutableFont.setItalicAngle(int)
public void setKerningEnabled(boolean enabled)
- Specified by:
- setKerningEnabled in interface MutableFont
public void setLastChar(int index)
- Specified by:
- setLastChar in interface MutableFont
- See Also:
MutableFont.setLastChar(int)
public void setMissingWidth(int width)
- Specified by:
- setMissingWidth in interface MutableFont
- See Also:
MutableFont.setMissingWidth(int)
public void setResolver(FontResolver resolver)
Sets the font resolver. Needed for URI resolution.
- Parameters:
resolver
- the font resolver
public void setStemV(int stemV)
- Specified by:
- setStemV in interface MutableFont
- See Also:
MutableFont.setStemV(int)
public void setXHeight(int xHeight)
Returns the XHeight value of the font.
- Parameters:
xHeight
- the XHeight value
fop 0.94 |