Class FontMappingUtility


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static 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 Detail

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