FreeHEP API
Version v1.1

org.freehep.graphicsio.font
Class FontUtilities

java.lang.Object
  |
  +--org.freehep.graphicsio.font.FontUtilities

public class FontUtilities
extends Object


Nested Class Summary
static interface FontUtilities.ShowString
           
 
Method Summary
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

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

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.