Class CSSFontFace

All Implemented Interfaces:
ErrorConstants, XMLConstants, CSSConstants, SVGConstants

public class CSSFontFace extends FontFace implements SVGConstants
This class represents a <font-face> element or @font-face rule
Version:
$Id: CSSFontFace.java 1805408 2017-08-18 12:21:52Z ssteiner $
  • Field Details

  • Constructor Details

    • CSSFontFace

      public CSSFontFace(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 CSSFontFace with the specfied font-face attributes.
    • CSSFontFace

      protected CSSFontFace(String familyName)
  • Method Details