APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.font

public final Class FontConfigManager

extends Object
Class Inheritance
Imports
java.util.Locale, sun.awt.SunHints, .SunToolkit, sun.util.logging.PlatformLogger

Small utility class to manage FontConfig.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
private static final FontConfigManager.FontConfigInfo
pack-priv static boolean
private FontConfigManager.FcCompFont[]
private static String[]

Constructor Summary

AccessConstructor and Description
public
FontConfigManager()

Instantiates a new FontConfigManager getting the default instance of FontManager from the FontManagerFactory.

Method Summary

Modifier and TypeMethod and Description
private static String
private static native void
getFontConfig(String locale, FontConfigManager.FontConfigInfo fcInfo, FontConfigManager.FcCompFont[] fonts, boolean includeFallbacks)

public static Object
public static Object
private static native int
public CompositeFont
getFontConfigFont(String name, int style)

public FontConfigManager.FcCompFont[]
pack-priv FontConfigManager.FontConfigInfo
public static native int
public synchronized void
initFontConfigFonts(boolean includeFallbacks)

pack-priv FontConfigManager.FcCompFont[]
pack-priv void
public PhysicalFont
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fcInfoback to summary
private static final FontConfigManager.FontConfigInfo fcInfo
fontConfigFailedback to summary
pack-priv static boolean fontConfigFailed
fontConfigFontsback to summary
private FontConfigManager.FcCompFont[] fontConfigFonts
fontConfigNamesback to summary
private static String[] fontConfigNames

Constructor Detail

FontConfigManagerback to summary
public FontConfigManager()

Instantiates a new FontConfigManager getting the default instance of FontManager from the FontManagerFactory.

Method Detail

getFCLocaleStrback to summary
private static String getFCLocaleStr()
getFontConfigback to summary
private static native void getFontConfig(String locale, FontConfigManager.FontConfigInfo fcInfo, FontConfigManager.FcCompFont[] fonts, boolean includeFallbacks)
getFontConfigAAHintback to summary
public static Object getFontConfigAAHint()
getFontConfigAAHintback to summary
public static Object getFontConfigAAHint(String fcFamily)
getFontConfigAASettingsback to summary
private static native int getFontConfigAASettings(String locale, String fcFamily)
getFontConfigFontback to summary
public CompositeFont getFontConfigFont(String name, int style)
getFontConfigFontsback to summary
public FontConfigManager.FcCompFont[] getFontConfigFonts()
getFontConfigInfoback to summary
pack-priv FontConfigManager.FontConfigInfo getFontConfigInfo()
getFontConfigVersionback to summary
public static native int getFontConfigVersion()
initFontConfigFontsback to summary
public synchronized void initFontConfigFonts(boolean includeFallbacks)
loadFontConfigback to summary
pack-priv FontConfigManager.FcCompFont[] loadFontConfig()
populateFontConfigback to summary
pack-priv void populateFontConfig(FontConfigManager.FcCompFont[] fcInfo)
registerFromFcInfoback to summary
public PhysicalFont registerFromFcInfo(FontConfigManager.FcCompFont fcInfo)
sun.font back to summary

public final Class FontConfigManager.FcCompFont

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public FontConfigManager.FontConfigFont[]
public CompositeFont
public String
public String
public FontConfigManager.FontConfigFont
public String
public int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

allFontsback to summary
public FontConfigManager.FontConfigFont[] allFonts
compFontback to summary
public CompositeFont compFont
fcFamilyback to summary
public String fcFamily
fcNameback to summary
public String fcName
firstFontback to summary
public FontConfigManager.FontConfigFont firstFont
jdkNameback to summary
public String jdkName
styleback to summary
public int style

Constructor Detail

FcCompFontback to summary
public FcCompFont()
sun.font back to summary

public final Class FontConfigManager.FontConfigFont

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public String
public String
public String
public String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

familyNameback to summary
public String familyName
fontFileback to summary
public String fontFile
fullNameback to summary
public String fullName
styleStrback to summary
public String styleStr

Constructor Detail

FontConfigFontback to summary
public FontConfigFont()
sun.font back to summary

public final Class FontConfigManager.FontConfigInfo

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public String[]
public int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheDirsback to summary
public String[] cacheDirs
fcVersionback to summary
public int fcVersion

Constructor Detail

FontConfigInfoback to summary
public FontConfigInfo()