Class StandardFonts

java.lang.Object
com.itextpdf.io.font.constants.StandardFonts

public final class StandardFonts extends Object
Defines standard PDF Type 1 font names.
  • Field Details

    • COURIER

      public static final String COURIER
      This is a possible value of a base 14 type 1 font
      See Also:
    • COURIER_BOLD

      public static final String COURIER_BOLD
      This is a possible value of a base 14 type 1 font
      See Also:
    • COURIER_OBLIQUE

      public static final String COURIER_OBLIQUE
      This is a possible value of a base 14 type 1 font
      See Also:
    • COURIER_BOLDOBLIQUE

      public static final String COURIER_BOLDOBLIQUE
      This is a possible value of a base 14 type 1 font
      See Also:
    • HELVETICA

      public static final String HELVETICA
      This is a possible value of a base 14 type 1 font
      See Also:
    • HELVETICA_BOLD

      public static final String HELVETICA_BOLD
      This is a possible value of a base 14 type 1 font
      See Also:
    • HELVETICA_OBLIQUE

      public static final String HELVETICA_OBLIQUE
      This is a possible value of a base 14 type 1 font
      See Also:
    • HELVETICA_BOLDOBLIQUE

      public static final String HELVETICA_BOLDOBLIQUE
      This is a possible value of a base 14 type 1 font
      See Also:
    • SYMBOL

      public static final String SYMBOL
      This is a possible value of a base 14 type 1 font
      See Also:
    • TIMES_ROMAN

      public static final String TIMES_ROMAN
      This is a possible value of a base 14 type 1 font
      See Also:
    • TIMES_BOLD

      public static final String TIMES_BOLD
      This is a possible value of a base 14 type 1 font
      See Also:
    • TIMES_ITALIC

      public static final String TIMES_ITALIC
      This is a possible value of a base 14 type 1 font
      See Also:
    • TIMES_BOLDITALIC

      public static final String TIMES_BOLDITALIC
      This is a possible value of a base 14 type 1 font
      See Also:
    • ZAPFDINGBATS

      public static final String ZAPFDINGBATS
      This is a possible value of a base 14 type 1 font
      See Also:
  • Method Details

    • isStandardFont

      public static boolean isStandardFont (String fontName)
      Checks whether a font name identifies one of the standard PDF fonts.
      Parameters:
      fontName - the font name to check
      Returns:
      true when the name is a standard PDF font name