Class TrueTypeFontIdentifier
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontIdentifier
- All Implemented Interfaces:
Serializable, FontIdentifier
Creation-Date: 16.12.2005, 19:35:31
- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTrueTypeFontIdentifier(String fontSource, String fontName, String fontVariant, int collectionIndex, long offset) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the general type of this font identifier.longinthashCode()booleanDefines, whether the font identifier represents a scalable font type.
-
Constructor Details
-
TrueTypeFontIdentifier
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceFontIdentifier- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceFontIdentifier- Overrides:
hashCodein classObject
-
getFontSource
-
getFontVariant
-
getFontName
-
getCollectionIndex
public int getCollectionIndex() -
getOffset
public long getOffset() -
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.- Specified by:
isScalablein interfaceFontIdentifier- Returns:
- true, if the font is scalable, false otherwise
-
getFontType
Description copied from interface:FontIdentifierReturns the general type of this font identifier. This is for debugging, not for the real world.- Specified by:
getFontTypein interfaceFontIdentifier- Returns:
-