org.pentaho.reporting.libraries.fonts

Class FontMappingUtility

public class FontMappingUtility extends Object

Creation-Date: 22.07.2007, 18:25:35

Author: Thomas Morgner

Method Summary
static booleanisCourier(String fontName)
Returns true if the logical font name is equivalent to 'Courier', and false otherwise.
static booleanisSansSerif(String fontName)
Returns true if the logical font name is equivalent to 'SansSerif', and false otherwise.
static booleanisSerif(String fontName)
Returns true if the logical font name is equivalent to 'Serif', and false otherwise.
static booleanisSymbol(String fontName)

Method Detail

isCourier

public static boolean isCourier(String fontName)
Returns true if the logical font name is equivalent to 'Courier', and false otherwise.

Returns: true or false.

isSansSerif

public static boolean isSansSerif(String fontName)
Returns true if the logical font name is equivalent to 'SansSerif', and false otherwise.

Returns: true or false.

isSerif

public static boolean isSerif(String fontName)
Returns true if the logical font name is equivalent to 'Serif', and false otherwise.

Returns: true or false.

isSymbol

public static boolean isSymbol(String fontName)