Package org.xhtmlrenderer.swt
Class SWTFontResolver
- java.lang.Object
-
- org.xhtmlrenderer.swt.SWTFontResolver
-
- All Implemented Interfaces:
FontResolver
public class SWTFontResolver extends Object implements FontResolver
Resolve font the SWT way.- Author:
- Vianney le Clément
-
-
Constructor Summary
Constructors Constructor Description SWTFontResolver(org.eclipse.swt.graphics.Device device)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflushCache()FSFontresolveFont(SharedContext renderingContext, FontSpecification spec)
-
-
-
Method Detail
-
flushCache
public void flushCache()
- Specified by:
flushCachein interfaceFontResolver
-
resolveFont
public FSFont resolveFont(SharedContext renderingContext, FontSpecification spec)
- Specified by:
resolveFontin interfaceFontResolver
-
-