|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.graphics2d.font.FontUtilities
public class FontUtilities
Nested Class Summary | |
---|---|
static interface |
FontUtilities.ShowString
|
Method Summary | |
---|---|
static java.util.List |
getAllAvailableFonts()
|
static java.util.Hashtable |
getAttributes(java.awt.Font font)
there is a bug in the jdk 1.6 which makes Font.getAttributes() not work correctly. |
static java.lang.String |
getEncodedString(java.lang.String string,
CharTable charTable)
Deprecated. use org.freehep.graphics2d.font.FontEncoder.getEncodedString() |
static java.lang.String |
getEncodedString(java.lang.String string,
java.lang.String tableName)
Deprecated. use org.freehep.graphics2d.font.FontEncoder.getEncodedString() |
static java.lang.String |
getWindowsFontName(java.lang.String fontName)
|
static void |
showString(java.awt.Font font,
java.lang.String string,
CharTable latinTable,
FontUtilities.ShowString device)
Shows a String and switches the encoding (and font) everytime the unicode characters leave the range of the curent encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List getAllAvailableFonts()
public static java.lang.String getWindowsFontName(java.lang.String fontName)
public static java.lang.String getEncodedString(java.lang.String string, java.lang.String tableName)
public static java.lang.String getEncodedString(java.lang.String string, CharTable charTable)
public static void showString(java.awt.Font font, java.lang.String string, CharTable latinTable, FontUtilities.ShowString device) throws java.io.IOException
java.io.IOException
public static java.util.Hashtable getAttributes(java.awt.Font font)
font
- font
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |