public Font createFont(String name, int style, int size) { return fontFactory.createFont(name, style, size); }
public TextLayout createTextLayout( String string, Font font, FontRenderContext fontRenderContext) { return fontFactory.createTextLayout(string, font, fontRenderContext); }
public FontAdapter() { fontFactory = FactoryProvider.INSTANCE.getFontFactory(); fontLoader = fontFactory.createFontLoader(); textAttributeProvider = fontFactory.createTextAttributeProvider(); }