|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.gvt.font.FontFamilyResolver
public class FontFamilyResolver
The is a utility class that is used for resolving UnresolvedFontFamilies.
| 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. |
| Constructor Summary | |
|---|---|
FontFamilyResolver()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AWTFontFamily defaultFont
protected static final Map fonts
protected static final List awtFontFamilies
protected static final List awtFonts
protected static final Map resolvedFontFamilies
| Constructor Detail |
|---|
public FontFamilyResolver()
| Method Detail |
|---|
public static String lookup(String familyName)
familyName - The Font Family name to resolve
public static GVTFontFamily resolve(String familyName)
familyName - The Font Family name to resolve
public static GVTFontFamily resolve(UnresolvedFontFamily fontFamily)
fontFamily - The UnresolvedFontFamily to resolve
public static GVTFontFamily getFamilyThatCanDisplay(char c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||