| Modifier and Type | Field and Description |
|---|---|
| private FontConfigManager. | |
| private String | |
| private static final String | fileVersion
Version of the cache file format understood by this code. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected FontDescriptor[] | buildFontDescriptors(int fontIndex, int styleIndex)
Overrides sun.
|
| private String | |
| public CompositeFontDescriptor[] | get2DCompositeFontInfo()
Overrides sun. Returns an array of composite font descriptors for all logical font faces. |
| protected Charset | getDefaultFontCharset(String fontName)
Implements abstract sun.
|
| protected String | getEncoding(String awtFontName, String characterSubsetName)
Implements abstract sun. Returns the java.io name of the platform character encoding for the given AWT font name and character subset. |
| public String | getExtraFontPath()
Overrides sun. Returns a configuration specific path to be appended to the font search path. |
| protected String | getFaceNameFromComponentFontName(String componentFontName)
Implements abstract sun.
|
| public String | getFallbackFamilyName(String fontName, String defaultFallback)
Implements abstract sun. Returns a fallback name for the given font name. |
| private FontConfigManager. | |
| private File | |
| protected String | getFileNameFromComponentFontName(String componentFontName)
Implements abstract sun.
|
| public String | getFileNameFromPlatformName(String platformName)
Overrides sun. Returns a file name for the physical font represented by this platform font name, if the font configuration has such information available, or null if the information is unavailable. |
| public int | |
| public String[] | |
| private String | |
| public synchronized boolean | |
| protected void | |
| public boolean | |
| private void | |
| protected void | setOsNameAndVersion()
Overrides sun. Sets the OS name and version from environment information. |
| private static void | |
| private void |
| fcCompFonts | back to summary |
|---|---|
| private FontConfigManager. | |
| fcInfoFileName | back to summary |
|---|---|
| private String fcInfoFileName | |
| fileVersion | back to summary |
|---|---|
| private static final String fileVersion Version of the cache file format understood by this code.
Its part of the file name so that we can rev this at
any time, even in a minor JDK update.
It is stored as the value of the "version" property.
This is distinct from the version of "libfontconfig" that generated
the cached results, and which is the "fcversion" property in the file.
| |
| FcFontConfiguration | back to summary |
|---|---|
| public FcFontConfiguration(SunFontManager fm) | |
| FcFontConfiguration | back to summary |
|---|---|
| public FcFontConfiguration(SunFontManager fm, boolean preferLocaleFonts, boolean preferPropFonts) | |
| buildFontDescriptors | back to summary |
|---|---|
| protected FontDescriptor[] buildFontDescriptors(int fontIndex, int styleIndex) Overrides sun.
| |
| extractInfo | back to summary |
|---|---|
| private String extractInfo(String s) | |
| get2DCompositeFontInfo | back to summary |
|---|---|
| public CompositeFontDescriptor[] get2DCompositeFontInfo() Overrides sun. Doc from sun. Returns an array of composite font descriptors for all logical font faces.
| |
| getDefaultFontCharset | back to summary |
|---|---|
| protected Charset getDefaultFontCharset(String fontName) Implements abstract sun.
| |
| getEncoding | back to summary |
|---|---|
| protected String getEncoding(String awtFontName, String characterSubsetName) Implements abstract sun. Doc from sun. Returns the java.io name of the platform character encoding for the given AWT font name and character subset. May return "default" to indicate that getDefaultFontCharset should be called to obtain a charset encoder.
| |
| getExtraFontPath | back to summary |
|---|---|
| public String getExtraFontPath() Overrides sun. Doc from sun. Returns a configuration specific path to be appended to the font search path.
| |
| getFaceNameFromComponentFontName | back to summary |
|---|---|
| protected String getFaceNameFromComponentFontName(String componentFontName) Implements abstract sun.
| |
| getFallbackFamilyName | back to summary |
|---|---|
| public String getFallbackFamilyName(String fontName, String defaultFallback) Implements abstract sun. Doc from sun. Returns a fallback name for the given font name. For a few known font names, matching logical font names are returned. For all other font names, defaultFallback is returned. defaultFallback differs between AWT and 2D.
| |
| getFcFontList | back to summary |
|---|---|
| private FontConfigManager. | |
| getFcInfoFile | back to summary |
|---|---|
| private File getFcInfoFile() | |
| getFileNameFromComponentFontName | back to summary |
|---|---|
| protected String getFileNameFromComponentFontName(String componentFontName) Implements abstract sun.
| |
| getFileNameFromPlatformName | back to summary |
|---|---|
| public String getFileNameFromPlatformName(String platformName) Overrides sun. Doc from sun. Returns a file name for the physical font represented by this platform font name, if the font configuration has such information available, or null if the information is unavailable. The file name returned is just a hint; a null return value doesn't necessarily mean that the font is unavailable, nor does a non-null return value guarantee that the file exists and contains the physical font. The file name can be an absolute or a relative path name.
| |
| getNumberCoreFonts | back to summary |
|---|---|
| public int getNumberCoreFonts() Overrides sun.
| |
| getPlatformFontNames | back to summary |
|---|---|
| public String[] getPlatformFontNames() Overrides sun.
| |
| getVersionString | back to summary |
|---|---|
| private String getVersionString(File f) Gets the OS version string from a Linux release-specific file. | |
| init | back to summary |
|---|---|
| public synchronized boolean init() Overrides sun.
| |
| initReorderMap | back to summary |
|---|---|
| protected void initReorderMap() Implements abstract sun.
| |
| needToSearchForFile | back to summary |
|---|---|
| public boolean needToSearchForFile(String fileName) Overrides sun.
| |
| readFcInfo | back to summary |
|---|---|
| private void readFcInfo() | |
| setOsNameAndVersion | back to summary |
|---|---|
| protected void setOsNameAndVersion() Overrides sun. Sets the OS name and version from environment information.
| |
| warning | back to summary |
|---|---|
| private static void warning(String msg) | |
| writeFcInfo | back to summary |
|---|---|
| private void writeFcInfo() | |