Package de.intarsys.cwt.font
Interface IFont
-
- All Known Implementing Classes:
CommonFont,GenericFont
public interface IFontAn abstract font description object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFontFamilyName()The font family namejava.lang.StringgetFontName()The font name.java.lang.StringgetFontNameCanonical()The canonical font name.java.lang.StringgetFontNamePostScript()The postscript font name.IFontProgramgetFontProgram()The referencedIFontProgram.FontStylegetFontStyle()The font style.java.lang.StringgetFontType()The font type.
-
-
-
Method Detail
-
getFontFamilyName
java.lang.String getFontFamilyName()
The font family name- Returns:
- The font family name
-
getFontName
java.lang.String getFontName()
The font name. This may deviate from the postscript font name for TrueType fonts.- Returns:
- The font name.
-
getFontNameCanonical
java.lang.String getFontNameCanonical()
The canonical font name.- Returns:
- The canonical font name.
-
getFontNamePostScript
java.lang.String getFontNamePostScript()
The postscript font name.- Returns:
- The postscript font name.
-
getFontProgram
IFontProgram getFontProgram()
The referencedIFontProgram.- Returns:
- The referenced
IFontProgram.
-
getFontStyle
FontStyle getFontStyle()
The font style.- Returns:
- The font style.
-
getFontType
java.lang.String getFontType()
The font type. This is for example "TrueType" or "Type1".- Returns:
- The font type.
-
-