Package org.apache.batik.bridge
Interface FontFamilyResolver
-
- All Known Implementing Classes:
DefaultFontFamilyResolver
public interface FontFamilyResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GVTFontFamily
getDefault()
GVTFontFamily
getFamilyThatCanDisplay(char c)
GVTFontFamily
loadFont(java.io.InputStream in, FontFace fontFace)
GVTFontFamily
resolve(java.lang.String familyName)
Resolves a font family name into a GVTFontFamily.GVTFontFamily
resolve(java.lang.String familyName, FontFace fontFace)
-
-
-
Method Detail
-
resolve
GVTFontFamily resolve(java.lang.String familyName)
Resolves a font family name into a GVTFontFamily. If the font family cannot be resolved then null will be returned.- Parameters:
familyName
- The Font Family name to resolve- Returns:
- A resolved GVTFontFamily or null if the font family could not be resolved.
-
resolve
GVTFontFamily resolve(java.lang.String familyName, FontFace fontFace)
-
loadFont
GVTFontFamily loadFont(java.io.InputStream in, FontFace fontFace) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getDefault
GVTFontFamily getDefault()
-
getFamilyThatCanDisplay
GVTFontFamily getFamilyThatCanDisplay(char c)
-
-