Class SimpleFontFace
java.lang.Object
net.sf.jasperreports.engine.fonts.SimpleFontFace
- All Implemented Interfaces:
Cloneable
,FontFace
,JRCloneable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected void
finalize()
getEot()
getFont()
Returns a non-null instance of java.awt.Font representing the font face.getName()
Returns the non-null name of the font face.getPdf()
getSvg()
getTtf()
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).getWoff()
void
loadFont()
void
void
void
void
void
void
-
Constructor Details
-
SimpleFontFace
-
-
Method Details
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getName
Description copied from interface:FontFace
Returns the non-null name of the font face. -
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). -
setTtf
-
setTtf
-
loadFont
- Throws:
InvalidFontException
-
getFont
Description copied from interface:FontFace
Returns a non-null instance of java.awt.Font representing the font face. -
getPdf
-
setPdf
-
getEot
-
setEot
-
getSvg
-
setSvg
-
getWoff
-
setWoff
-
finalize
protected void finalize()
-