org.apache.batik.gvt.font
public class FontFamilyResolver extends Object
| Field Summary | |
|---|---|
| protected static List | awtFontFamilies |
| protected static List | awtFonts |
| static AWTFontFamily | defaultFont
The default font. |
| protected static Map | fonts
List of all available fonts on the current system, plus a few common
alternatives. |
| protected static Map | resolvedFontFamilies
This keeps track of all the resolved font families. |
| Method Summary | |
|---|---|
| static GVTFontFamily | getFamilyThatCanDisplay(char c) |
| static String | lookup(String familyName)
Looks up a font family name and returns the platform name
for the font.
|
| static GVTFontFamily | resolve(String familyName)
Resolves a font family name into a GVTFontFamily. |
| static GVTFontFamily | resolve(UnresolvedFontFamily fontFamily)
Resolves an UnresolvedFontFamily into a GVTFontFamily. |
Parameters: familyName The Font Family name to resolve
Returns: The platform name for the font or null if it can't be found.
Parameters: familyName The Font Family name to resolve
Returns: A resolved GVTFontFamily or null if the font family could not be resolved.
Parameters: fontFamily The UnresolvedFontFamily to resolve
Returns: A resolved GVTFontFamily or null if the font family could not be resolved.