Class FontMappingUtility

java.lang.Object
org.pentaho.reporting.libraries.fonts.FontMappingUtility

public class FontMappingUtility extends Object
Creation-Date: 22.07.2007, 18:25:35
Author:
Thomas Morgner
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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.
    • 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.
    • 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)