Package org.xhtmlrenderer.context
Class AWTFontResolver
java.lang.Object
org.xhtmlrenderer.context.AWTFontResolver
- All Implemented Interfaces:
FontResolver
Description of the Class
- Author:
- Joshua Marinacci
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
resolveFont
(SharedContext ctx, String[] families, float size, IdentValue weight, IdentValue style, IdentValue variant) Description of the MethodresolveFont
(SharedContext renderingContext, FontSpecification spec) void
setFontMapping
(String name, Font font) Sets the fontMapping attribute of the FontResolver object
-
Constructor Details
-
AWTFontResolver
public AWTFontResolver()Constructor for the FontResolverTest object
-
-
Method Details
-
flushCache
public void flushCache()- Specified by:
flushCache
in interfaceFontResolver
-
setFontMapping
Sets the fontMapping attribute of the FontResolver object- Parameters:
name
- The new fontMapping valuefont
- The new fontMapping value
-