org.apache.batik.bridge
Interface FontFamilyResolver

All Known Implementing Classes:
DefaultFontFamilyResolver

public interface FontFamilyResolver


Method Summary
 GVTFontFamily getDefault()
           
 GVTFontFamily getFamilyThatCanDisplay(char c)
           
 GVTFontFamily loadFont(InputStream in, FontFace fontFace)
           
 GVTFontFamily resolve(String familyName)
          Resolves a font family name into a GVTFontFamily.
 GVTFontFamily resolve(String familyName, FontFace fontFace)
           
 

Method Detail

resolve

GVTFontFamily resolve(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(String familyName,
                      FontFace fontFace)

loadFont

GVTFontFamily loadFont(InputStream in,
                       FontFace fontFace)
                       throws Exception
Throws:
Exception

getDefault

GVTFontFamily getDefault()

getFamilyThatCanDisplay

GVTFontFamily getFamilyThatCanDisplay(char c)


Copyright © 2017 Apache Software Foundation. All Rights Reserved.