Class DefaultFontFamilyResolver

  • All Implemented Interfaces:
    FontFamilyResolver

    public final class DefaultFontFamilyResolver
    extends java.lang.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 Detail

      • 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 java.util.Map fonts
        List of all available fonts on the current system, plus a few common alternatives.
      • awtFontFamilies

        protected static final java.util.List awtFontFamilies
      • awtFonts

        protected static final java.util.List awtFonts
      • resolvedFontFamilies

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

      • DefaultFontFamilyResolver

        private DefaultFontFamilyResolver()