Class CompoundFontIdentifier
java.lang.Object
org.pentaho.reporting.libraries.fonts.merge.CompoundFontIdentifier
- All Implemented Interfaces:
Serializable,FontIdentifier
Creation-Date: 20.07.2007, 19:31:00
- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompoundFontIdentifier(FontIdentifier identifier, FontRegistry registry, boolean boldSpecified, boolean italicsSpecified) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the general type of this font identifier.inthashCode()booleanbooleanbooleanDefines, whether the font identifier represents a scalable font type.
-
Constructor Details
-
CompoundFontIdentifier
public CompoundFontIdentifier(FontIdentifier identifier, FontRegistry registry, boolean boldSpecified, boolean italicsSpecified)
-
-
Method Details
-
getIdentifier
-
isBoldSpecified
public boolean isBoldSpecified() -
isItalicsSpecified
public boolean isItalicsSpecified() -
equals
- Specified by:
equalsin interfaceFontIdentifier- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceFontIdentifier- Overrides:
hashCodein classObject
-
isScalable
public boolean isScalable()Description copied from interface:FontIdentifierDefines, 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:
-
getRegistry
-