Package de.intarsys.cwt.font
Interface IFont
- All Known Implementing Classes:
CommonFont
,GenericFont
public interface IFont
An abstract font description object.
-
Method Summary
Modifier and TypeMethodDescriptionThe font family nameThe font name.The canonical font name.The postscript font name.The referencedIFontProgram
.The font style.The font type.
-
Method Details
-
getFontFamilyName
String getFontFamilyName()The font family name- Returns:
- The font family name
-
getFontName
String getFontName()The font name. This may deviate from the postscript font name for TrueType fonts.- Returns:
- The font name.
-
getFontNameCanonical
String getFontNameCanonical()The canonical font name.- Returns:
- The canonical font name.
-
getFontNamePostScript
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
String getFontType()The font type. This is for example "TrueType" or "Type1".- Returns:
- The font type.
-