Interface FontFamilyResolver
- All Known Implementing Classes:
DefaultFontFamilyResolver
public interface FontFamilyResolver
-
Method Summary
Modifier and TypeMethodDescriptiongetFamilyThatCanDisplay(char c) loadFont(InputStream in, FontFace fontFace) Resolves a font family name into a GVTFontFamily.
-
Method Details
-
resolve
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
-
loadFont
- Throws:
Exception
-
getDefault
GVTFontFamily getDefault() -
getFamilyThatCanDisplay
-