Class SimpleFontFace

java.lang.Object
net.sf.jasperreports.engine.fonts.SimpleFontFace
All Implemented Interfaces:
Cloneable, FontFace, JRCloneable

public class SimpleFontFace extends Object implements FontFace, JRCloneable
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Constructor Details

  • Method Details

    • clone

      public Object clone()
      Specified by:
      clone in interface JRCloneable
      Overrides:
      clone in class Object
    • getName

      public String getName()
      Description copied from interface: FontFace
      Returns the non-null name of the font face.
      Specified by:
      getName in interface FontFace
    • getTtf

      public String getTtf()
      Description copied from interface: FontFace
      Returns the TTF file, if the font face has specified one (the font face does not specify a TTF file in case it maps a JVM available font such as a Java logical font or a system font).
      Specified by:
      getTtf in interface FontFace
    • setTtf

      public void setTtf(String ttf)
    • setTtf

      public void setTtf(String ttf, boolean load)
    • loadFont

      public void loadFont() throws InvalidFontException
      Throws:
      InvalidFontException
    • getFont

      public Font getFont()
      Description copied from interface: FontFace
      Returns a non-null instance of java.awt.Font representing the font face.
      Specified by:
      getFont in interface FontFace
    • getPdf

      public String getPdf()
      Specified by:
      getPdf in interface FontFace
    • setPdf

      public void setPdf(String pdf)
    • getEot

      public String getEot()
      Specified by:
      getEot in interface FontFace
    • setEot

      public void setEot(String eot)
    • getSvg

      public String getSvg()
      Specified by:
      getSvg in interface FontFace
    • setSvg

      public void setSvg(String svg)
    • getWoff

      public String getWoff()
      Specified by:
      getWoff in interface FontFace
    • setWoff

      public void setWoff(String woff)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object