FontManager.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static HashSet | |
| private static String[] | |
| private static Map | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static HashMap | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static Map | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addFontToPlatformFontPath(String platformName)
Overrides sun. Notifies graphics environment that the logical font configuration uses the given platform font name. |
| protected FontConfiguration | createFontConfiguration()
Overrides sun. Creates this environment's FontConfiguration. |
| public FontConfiguration | createFontConfiguration(boolean preferLocaleFonts, boolean preferPropFonts)
Overrides sun.
|
| public String | getFileNameFromPlatformName(String platName)
Overrides sun. Takes family name property in the following format: "-linotype-helvetica-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1" and returns the name of the corresponding physical font. |
| public String | |
| protected FontUIResource | getFontConfigFUIR(String family, int style, int size)
Overrides sun.
|
| protected synchronized String | |
| public static X11FontManager | |
| protected String[] | getNativeNames(String fontFileName, String platformName)
Overrides sun.
|
| private void | |
| private static String | |
| private boolean | |
| public void | |
| protected void | |
| protected void | |
| protected void | |
| private String | |
| private String |
| ADD_STYLE_NAME_FIELD | back to summary |
|---|---|
| private static final int ADD_STYLE_NAME_FIELD | |
| AVERAGE_WIDTH_FIELD | back to summary |
|---|---|
| private static final int AVERAGE_WIDTH_FIELD | |
| CHARSET_ENCODING_FIELD | back to summary |
|---|---|
| private static final int CHARSET_ENCODING_FIELD | |
| CHARSET_REGISTRY_FIELD | back to summary |
|---|---|
| private static final int CHARSET_REGISTRY_FIELD | |
| FAMILY_NAME_FIELD | back to summary |
|---|---|
| private static final int FAMILY_NAME_FIELD | |
| fontConfigDirs | back to summary |
|---|---|
| private static HashSet<String> fontConfigDirs | |
| fontdirs | back to summary |
|---|---|
| private static String[] fontdirs | |
| fontNameMap | back to summary |
|---|---|
| private static Map<String, String> fontNameMap | |
| FOUNDRY_FIELD | back to summary |
|---|---|
| private static final int FOUNDRY_FIELD | |
| PIXEL_SIZE_FIELD | back to summary |
|---|---|
| private static final int PIXEL_SIZE_FIELD | |
| POINT_SIZE_FIELD | back to summary |
|---|---|
| private static final int POINT_SIZE_FIELD | |
| registeredDirs | back to summary |
|---|---|
| private static HashMap<String, Object> registeredDirs | |
| RESOLUTION_X_FIELD | back to summary |
|---|---|
| private static final int RESOLUTION_X_FIELD | |
| RESOLUTION_Y_FIELD | back to summary |
|---|---|
| private static final int RESOLUTION_Y_FIELD | |
| SETWIDTH_NAME_FIELD | back to summary |
|---|---|
| private static final int SETWIDTH_NAME_FIELD | |
| SLANT_FIELD | back to summary |
|---|---|
| private static final int SLANT_FIELD | |
| SPACING_FIELD | back to summary |
|---|---|
| private static final int SPACING_FIELD | |
| WEIGHT_NAME_FIELD | back to summary |
|---|---|
| private static final int WEIGHT_NAME_FIELD | |
| xFontDirsMap | back to summary |
|---|---|
| private static Map<String, String> xFontDirsMap | |
| xlfdMap | back to summary |
|---|---|
| private static Map<String, Vector<String>> xlfdMap | |
| X11FontManager | back to summary |
|---|---|
| public X11FontManager() | |
| addFontToPlatformFontPath | back to summary |
|---|---|
| protected void addFontToPlatformFontPath(String platformName) Overrides sun. Doc from sun. Notifies graphics environment that the logical font configuration uses the given platform font name. The graphics environment may use this for platform specific initialization.
| |
| createFontConfiguration | back to summary |
|---|---|
| protected FontConfiguration createFontConfiguration() Overrides sun. Doc from sun. Creates this environment's FontConfiguration.
| |
| createFontConfiguration | back to summary |
|---|---|
| public FontConfiguration createFontConfiguration(boolean preferLocaleFonts, boolean preferPropFonts) Overrides sun.
| |
| getFileNameFromPlatformName | back to summary |
|---|---|
| public String getFileNameFromPlatformName(String platName) Overrides sun. Takes family name property in the following format: "-linotype-helvetica-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1" and returns the name of the corresponding physical font. This code is used to resolve font configuration fonts, and expects only to get called for these fonts.
| |
| getFileNameFromXLFD | back to summary |
|---|---|
| public String getFileNameFromXLFD(String name) Returns the face name for the given XLFD. | |
| getFontConfigFUIR | back to summary |
|---|---|
| protected FontUIResource getFontConfigFUIR(String family, int style, int size) Overrides sun.
| |
| getFontPath | back to summary |
|---|---|
| protected synchronized String getFontPath(boolean noType1Fonts) Overrides sun.
| |
| getInstance | back to summary |
|---|---|
| public static X11FontManager getInstance() Hides sun. Doc from sun. Returns the global SunFontManager instance. This is similar to
| |
| getNativeNames | back to summary |
|---|---|
| protected String[] getNativeNames(String fontFileName, String platformName) Overrides sun.
| |
| getPlatformFontPathFromFontConfig | back to summary |
|---|---|
| private void getPlatformFontPathFromFontConfig() | |
| getX11FontName | back to summary |
|---|---|
| private static String getX11FontName(String platName) | |
| isHeadless | back to summary |
|---|---|
| private boolean isHeadless() | |
| loadFonts | back to summary |
|---|---|
| public void loadFonts() Overrides sun.
| |
| registerFontDir | back to summary |
|---|---|
| protected void registerFontDir(String path) Overrides sun.
| |
| registerFontDirs | back to summary |
|---|---|
| protected void registerFontDirs(String pathName) Overrides sun.
| |
| registerPlatformFontsUsedByFontConfiguration | back to summary |
|---|---|
| protected void registerPlatformFontsUsedByFontConfiguration() Overrides sun.
| |
| specificFontIDForName | back to summary |
|---|---|
| private String specificFontIDForName(String name) | |
| switchFontIDForName | back to summary |
|---|---|
| private String switchFontIDForName(String name) | |