org.freehep.graphicsio.font
Class FontUtilities
java.lang.Object
|
+--org.freehep.graphicsio.font.FontUtilities
- public class FontUtilities
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAllAvailableFonts
public static List getAllAvailableFonts()
getWindowsFontName
public static String getWindowsFontName(String fontName)
getEncodedString
public static String getEncodedString(String string,
String tableName)
getEncodedString
public static String getEncodedString(String string,
CharTable charTable)
- Returns an unicode encoded string from an ascii encoded string, using the
supplied table.
showString
public static void showString(Font font,
String string,
CharTable latinTable,
FontUtilities.ShowString device)
throws IOException
- Shows a String and switches the encoding (and font)
everytime the unicode characters leave the range of the curent encoding.
Outside the range of the given latinTable, Symbol and ZapfDingbats are checked. If
none of these three encodings contain the unicode character, an undefined
character is used.
IOException
Copyright © 2000-2003 FreeHEP, All Rights Reserved.