public class PfmFontRecord extends java.lang.Object implements FontSource, FontIdentifier
| Constructor and Description |
|---|
PfmFontRecord(PfmFont font,
DefaultFontFamily fontFamily) |
| Modifier and Type | Method and Description |
|---|---|
FontFamily |
getFamily()
Returns the family for this record.
|
java.lang.String |
getFontSource()
Returns the file name used to load the font.
|
FontType |
getFontType()
Returns the general type of this font identifier.
|
FontIdentifier |
getIdentifier() |
boolean |
isBold()
Returns true, if this font corresponds to a bold version of the font.
|
boolean |
isEmbeddable() |
boolean |
isItalic()
Returns true, if this font includes italic glyphs.
|
boolean |
isOblique()
Returns tue, if this font's italic mode is in fact some sort of being oblique.
|
boolean |
isScalable()
Defines, whether the font identifier represents a scalable font type.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodepublic PfmFontRecord(PfmFont font, DefaultFontFamily fontFamily)
public FontFamily getFamily()
FontRecordgetFamily in interface FontRecordpublic boolean isBold()
FontRecordisBold in interface FontRecordpublic boolean isItalic()
FontRecordisItalic in interface FontRecordpublic boolean isOblique()
FontRecordisOblique in interface FontRecordpublic FontIdentifier getIdentifier()
getIdentifier in interface FontRecordpublic java.lang.String getFontSource()
FontSourcegetFontSource in interface FontSourcepublic boolean isEmbeddable()
isEmbeddable in interface FontSourcepublic boolean isScalable()
FontIdentifierisScalable in interface FontIdentifierpublic FontType getFontType()
FontIdentifiergetFontType in interface FontIdentifier