|
||||||||||
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 java.util.List |
awtFontFamilies
|
protected static java.util.List |
awtFonts
|
static AWTFontFamily |
defaultFont
The default font. |
protected static java.util.Map |
fonts
List of all available fonts on the current system, plus a few common alternatives. |
protected static java.util.Map |
resolvedFontFamilies
This keeps track of all the resolved font families. |
Constructor Summary | |
---|---|
FontFamilyResolver()
|
Method Summary | |
---|---|
static GVTFontFamily |
getFamilyThatCanDisplay(char c)
|
static java.lang.String |
lookup(java.lang.String familyName)
Looks up a font family name and returns the platform name for the font. |
static GVTFontFamily |
resolve(java.lang.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 java.util.Map fonts
protected static final java.util.List awtFontFamilies
protected static final java.util.List awtFonts
protected static final java.util.Map resolvedFontFamilies
Constructor Detail |
---|
public FontFamilyResolver()
Method Detail |
---|
public static java.lang.String lookup(java.lang.String familyName)
familyName
- The Font Family name to resolve
public static GVTFontFamily resolve(java.lang.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 |