org.jfree.fonts

Class FontMappingUtility


public class FontMappingUtility
extends java.lang.Object

Creation-Date: 22.07.2007, 18:25:35
Author:
Thomas Morgner

Method Summary

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

Method Details

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)