|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.bridge.DefaultFontFamilyResolver
public final class DefaultFontFamilyResolver
The is a utility class that is used for resolving UnresolvedFontFamilies.
| Field Summary | |
|---|---|
protected static List |
awtFontFamilies
|
protected static List |
awtFonts
|
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. |
static DefaultFontFamilyResolver |
SINGLETON
|
| Method Summary | |
|---|---|
GVTFontFamily |
getDefault()
|
GVTFontFamily |
getFamilyThatCanDisplay(char c)
|
GVTFontFamily |
loadFont(InputStream in,
FontFace ff)
|
GVTFontFamily |
resolve(String familyName)
Resolves a font family name into a GVTFontFamily. |
AWTFontFamily |
resolve(String familyName,
FontFace fontFace)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DefaultFontFamilyResolver SINGLETON
protected static final Map fonts
protected static final List awtFontFamilies
protected static final List awtFonts
protected static final Map resolvedFontFamilies
| Method Detail |
|---|
public AWTFontFamily resolve(String familyName,
FontFace fontFace)
resolve in interface FontFamilyResolver
public GVTFontFamily loadFont(InputStream in,
FontFace ff)
throws Exception
loadFont in interface FontFamilyResolverExceptionpublic GVTFontFamily resolve(String familyName)
resolve in interface FontFamilyResolverfamilyName - The Font Family name to resolve
public GVTFontFamily getFamilyThatCanDisplay(char c)
getFamilyThatCanDisplay in interface FontFamilyResolverpublic GVTFontFamily getDefault()
getDefault in interface FontFamilyResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||