org.pentaho.reporting.libraries.fonts.truetype

Class TrueTypeFontIdentifier

public class TrueTypeFontIdentifier extends Object implements FontIdentifier, Serializable

Creation-Date: 16.12.2005, 19:35:31

Author: Thomas Morgner

Constructor Summary
TrueTypeFontIdentifier(String fontSource, String fontName, String fontVariant, int collectionIndex, long offset)
Method Summary
booleanequals(Object o)
intgetCollectionIndex()
StringgetFontName()
StringgetFontSource()
FontTypegetFontType()
StringgetFontVariant()
longgetOffset()
inthashCode()
booleanisScalable()
Defines, whether the font identifier represents a scalable font type.

Constructor Detail

TrueTypeFontIdentifier

public TrueTypeFontIdentifier(String fontSource, String fontName, String fontVariant, int collectionIndex, long offset)

Method Detail

equals

public boolean equals(Object o)

getCollectionIndex

public int getCollectionIndex()

getFontName

public String getFontName()

getFontSource

public String getFontSource()

getFontType

public FontType getFontType()

getFontVariant

public String getFontVariant()

getOffset

public long getOffset()

hashCode

public int hashCode()

isScalable

public boolean isScalable()
Defines, whether the font identifier represents a scalable font type. Such fonts usually create one font metric object for each physical font, and apply the font size afterwards.

Returns: true, if the font is scalable, false otherwise