Class AWTFontResolver

  • All Implemented Interfaces:
    FontResolver

    public class AWTFontResolver
    extends java.lang.Object
    implements FontResolver
    Description of the Class
    Author:
    Joshua Marinacci
    • Constructor Detail

      • AWTFontResolver

        public AWTFontResolver()
        Constructor for the FontResolverTest object
    • Method Detail

      • resolveFont

        public FSFont resolveFont​(SharedContext ctx,
                                  java.lang.String[] families,
                                  float size,
                                  IdentValue weight,
                                  IdentValue style,
                                  IdentValue variant)
        Description of the Method
        Parameters:
        ctx -
        families - PARAM
        size - PARAM
        weight - PARAM
        style - PARAM
        variant - PARAM
        Returns:
        Returns
      • setFontMapping

        public void setFontMapping​(java.lang.String name,
                                   java.awt.Font font)
        Sets the fontMapping attribute of the FontResolver object
        Parameters:
        name - The new fontMapping value
        font - The new fontMapping value