|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.pdf.FontManager
public class FontManager
Font manager loads font information from TrueType or AFM files. It can be used to get FontMetrics for a font. The truetype fonts are retrieved from the path specified in the "font.truetype.path" property. The AFM fonts are retrieved from the path specified in the "font.afm.path" property.
| Method Summary | |
|---|---|
boolean |
exists(String fontin)
Check whether the font exists in the FontManager. |
static FontManager |
getFontManager()
Get a FontManager instance. |
FontMetrics |
getFontMetrics(Font font)
Get the font metrics for the specified font. |
protected inetsoft.report.pdf.FontInfo |
loadFontInfo(String font)
Load font information. |
void |
putFontName(String javaName,
String psFontName)
Add the mapping for the pdf font name corresponding to the Java font name. |
void |
refresh()
Refresh the font manager. |
boolean |
shouldRefresh()
Test if should refresh the font manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FontManager getFontManager()
public boolean shouldRefresh()
true if should, false otherwisepublic void refresh()
public FontMetrics getFontMetrics(Font font)
public void putFontName(String javaName,
String psFontName)
javaName - Java font name.psFontName - mapped to font name.public boolean exists(String fontin)
protected inetsoft.report.pdf.FontInfo loadFontInfo(String font)
throws IOException
IOException
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||