sk.upjs.fontmapper
Class FontUtil

java.lang.Object
  extended by sk.upjs.fontmapper.FontUtil

 class FontUtil
extends java.lang.Object

Utility functions related to fonts.


Constructor Summary
FontUtil()
           
 
Method Summary
static boolean fontExists(java.lang.String fontName)
          Determine whether a font with specified name exists.
static void listFonts()
          Print a list of fonts available to standard output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontUtil

FontUtil()
Method Detail

listFonts

public static void listFonts()
Print a list of fonts available to standard output.


fontExists

public static boolean fontExists(java.lang.String fontName)
Determine whether a font with specified name exists.

Parameters:
fontName - Font to check existence of.
Returns:
true if the font exists, false otherwise.