Class FontMappingUtility
java.lang.Object
org.pentaho.reporting.libraries.fonts.FontMappingUtility
public class FontMappingUtility
extends java.lang.Object
Creation-Date: 22.07.2007, 18:25:35
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isCourier
(java.lang.String fontName) Returns true if the logical font name is equivalent to 'Courier', and false otherwise.static boolean
isSansSerif
(java.lang.String fontName) Returns true if the logical font name is equivalent to 'SansSerif', and false otherwise.static boolean
isSerif
(java.lang.String fontName) Returns true if the logical font name is equivalent to 'Serif', and false otherwise.static boolean
isSymbol
(java.lang.String fontName) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
isSansSerif
public static boolean isSansSerif(java.lang.String fontName) Returns true if the logical font name is equivalent to 'SansSerif', and false otherwise.- Returns:
- true or false.
-
isCourier
public static boolean isCourier(java.lang.String fontName) Returns true if the logical font name is equivalent to 'Courier', and false otherwise.- Returns:
- true or false.
-
isSerif
public static boolean isSerif(java.lang.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(java.lang.String fontName)
-