Class DefaultFontFamilyResolver

java.lang.Object
org.apache.batik.bridge.DefaultFontFamilyResolver
All Implemented Interfaces:
FontFamilyResolver

public final class DefaultFontFamilyResolver extends Object implements FontFamilyResolver
The is a utility class that is used for resolving UnresolvedFontFamilies.
Version:
$Id: DefaultFontFamilyResolver.java 1804130 2017-08-04 14:41:11Z ssteiner $
  • Field Details

    • SINGLETON

      public static final DefaultFontFamilyResolver SINGLETON
    • DEFAULT_FONT_FAMILY

      private static final AWTFontFamily DEFAULT_FONT_FAMILY
      The default font. This will be used when no font families can be resolved for a particular text chunk/run.
    • fonts

      protected static final Map fonts
      List of all available fonts on the current system, plus a few common alternatives.
    • awtFontFamilies

      protected static final List awtFontFamilies
    • awtFonts

      protected static final List awtFonts
    • resolvedFontFamilies

      protected static final Map resolvedFontFamilies
      This keeps track of all the resolved font families. This is to hopefully reduce the number of font family objects used.
  • Constructor Details

    • DefaultFontFamilyResolver

      private DefaultFontFamilyResolver()
  • Method Details