public class DWFactory extends PrismFontFactory
Modifier and Type | Field and Description |
---|---|
private static ID2D1Factory |
D2D_FACTORY |
private static java.lang.Thread |
d2dThread |
private static IDWriteFactory |
DWRITE_FACTORY |
private static IDWriteFontCollection |
FONT_COLLECTION |
private static IWICImagingFactory |
WIC_FACTORY |
cacheLayoutSize, debugFonts, isAndroid, isEmbedded, isIOS, isLinux, isMacOSX, isWindows, SUB_PIXEL_NATIVE, SUB_PIXEL_ON, SUB_PIXEL_Y
DEFAULT_FULLNAME
Modifier | Constructor and Description |
---|---|
private |
DWFactory() |
Modifier and Type | Method and Description |
---|---|
private static void |
checkThread() |
protected PrismFontFile |
createFontFile(java.lang.String name,
java.lang.String filename,
int fIndex,
boolean register,
boolean embedded,
boolean copy,
boolean tracked) |
GlyphLayout |
createGlyphLayout() |
(package private) static ID2D1Factory |
getD2DFactory() |
(package private) static IDWriteFactory |
getDWriteFactory() |
static PrismFontFactory |
getFactory() |
(package private) static IDWriteFontCollection |
getFontCollection() |
(package private) static IWICImagingFactory |
getWICFactory() |
protected boolean |
registerEmbeddedFont(java.lang.String path) |
createFont, createFont, deriveFont, getFontFactory, getFontFamilyNames, getFontFullNames, getFontFullNames, getFontResource, getFontResource, getFontSizeLimit, getLCDContrast, getSubPixelMode, getSystemFont, getSystemFontSize, hasPermission, isJreFont, isLCDTextSupported, isPlatformFont, loadEmbeddedFont, loadEmbeddedFont, test_getNumEmbeddedFonts
private static IDWriteFactory DWRITE_FACTORY
private static IDWriteFontCollection FONT_COLLECTION
private static IWICImagingFactory WIC_FACTORY
private static ID2D1Factory D2D_FACTORY
private static java.lang.Thread d2dThread
public static PrismFontFactory getFactory()
protected PrismFontFile createFontFile(java.lang.String name, java.lang.String filename, int fIndex, boolean register, boolean embedded, boolean copy, boolean tracked) throws java.lang.Exception
createFontFile
in class PrismFontFactory
java.lang.Exception
public GlyphLayout createGlyphLayout()
createGlyphLayout
in class PrismFontFactory
protected boolean registerEmbeddedFont(java.lang.String path)
registerEmbeddedFont
in class PrismFontFactory
static IDWriteFactory getDWriteFactory()
static IDWriteFontCollection getFontCollection()
private static void checkThread()
static IWICImagingFactory getWICFactory()
static ID2D1Factory getD2DFactory()