|
||||||||||
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 List |
getAllAvailableFonts()
|
static Hashtable |
getAttributes(Font font)
there is a bug in the jdk 1.6 which makes Font.getAttributes() not work correctly. |
static String |
getEncodedString(String string,
CharTable charTable)
Deprecated. use org.freehep.graphics2d.font.FontEncoder.getEncodedString() |
static String |
getEncodedString(String string,
String tableName)
Deprecated. use org.freehep.graphics2d.font.FontEncoder.getEncodedString() |
static String |
getWindowsFontName(String fontName)
|
static void |
showString(Font font,
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 List getAllAvailableFonts()
public static String getWindowsFontName(String fontName)
public static String getEncodedString(String string, String tableName)
public static String getEncodedString(String string, CharTable charTable)
public static void showString(Font font, String string, CharTable latinTable, FontUtilities.ShowString device) throws IOException
IOException
public static Hashtable getAttributes(Font font)
font
- font
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |