intarsys CWT library

de.intarsys.cwt.font
Interface IFont

All Known Implementing Classes:
CommonFont, GenericFont

public interface IFont

An abstract font description object.


Method Summary
 String getFontFamilyName()
          The font family name
 String getFontName()
          The font name.
 String getFontNameCanonical()
          The canonical font name.
 String getFontNamePostScript()
          The postscript font name.
 IFontProgram getFontProgram()
          The referenced IFontProgram.
 FontStyle getFontStyle()
          The font style.
 String getFontType()
          The font type.
 

Method Detail

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 referenced IFontProgram.

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.

intarsys CWT library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.