org.apache.batik.bridge
public abstract class FontFace extends GVTFontFace implements ErrorConstants
Constructor Summary | |
---|---|
FontFace(List srcs, String familyName, float unitsPerEm, String fontWeight, String fontStyle, String fontVariant, String fontStretch, float slope, String panose1, float ascent, float descent, float strikethroughPosition, float strikethroughThickness, float underlinePosition, float underlineThickness, float overlinePosition, float overlineThickness)
Constructes an SVGFontFace with the specfied font-face attributes. | |
protected | FontFace(String familyName)
Constructes an SVGFontFace with the specfied fontName. |
Method Summary | |
---|---|
static CSSFontFace | createFontFace(String familyName, FontFace src) |
protected Element | getBaseElement(BridgeContext ctx)
Default implementation uses the root element of the document
associated with BridgeContext. |
GVTFontFamily | getFontFamily(BridgeContext ctx)
Returns the font associated with this rule or element. |
protected GVTFontFamily | getFontFamily(BridgeContext ctx, ParsedURL purl)
Tries to build a GVTFontFamily from a URL reference |