Class GenericFont

java.lang.Object
de.intarsys.cwt.font.CommonFont
de.intarsys.cwt.font.GenericFont
All Implemented Interfaces:
IFont

public class GenericFont extends CommonFont
  • Constructor Details

    • GenericFont

      protected GenericFont()
  • Method Details

    • createNew

      public static GenericFont createNew(de.intarsys.tools.locator.ILocator locator, de.intarsys.cwt.freetype.Face face)
    • getFontFamilyName

      public String getFontFamilyName()
      Description copied from interface: IFont
      The font family name
      Returns:
      The font family name
    • getFontName

      public String getFontName()
      Description copied from interface: IFont
      The font name. This may deviate from the postscript font name for TrueType fonts.
      Returns:
      The font name.
    • getFontNameCanonical

      public String getFontNameCanonical()
      Description copied from interface: IFont
      The canonical font name.
      Returns:
      The canonical font name.
    • getFontNamePostScript

      public String getFontNamePostScript()
      Description copied from interface: IFont
      The postscript font name.
      Returns:
      The postscript font name.
    • getFontStyle

      public FontStyle getFontStyle()
      Description copied from interface: IFont
      The font style.
      Returns:
      The font style.
    • getFontType

      public String getFontType()
      Description copied from interface: IFont
      The font type. This is for example "TrueType" or "Type1".
      Returns:
      The font type.
    • setFontFamilyName

      protected void setFontFamilyName(String familyName)
    • setFontName

      protected void setFontName(String fontName)
    • setFontNamePostScript

      protected void setFontNamePostScript(String fontPSName)
    • setFontStyle

      protected void setFontStyle(FontStyle style)
    • setFontType

      protected void setFontType(String fontType)