org.pentaho.reporting.libraries.fonts.itext
public final class BaseFontRecord extends Object
Constructor Summary | |
---|---|
BaseFontRecord(String fileName, boolean trueTypeFont, boolean embedded, BaseFont baseFont, boolean bold, boolean italics)
Creates a new font record.
|
Method Summary | |
---|---|
BaseFontRecordKey | createKey()
Creates a font record key.
|
BaseFont | getBaseFont()
Returns the iText BaseFont.
|
String | getEncoding()
Returns the encoding.
|
String | getFileName()
Returns the logical name of the font.
|
boolean | isBold() |
boolean | isEmbedded()
Returns true if the font should be embedded in the PDF output, and false if not.
|
boolean | isItalics() |
boolean | isTrueTypeFont() |
Parameters: fileName the physical filename name of the font file. embedded a flag that defines whether this font should be embedded in the target document. baseFont the generated base font for the given font definition.
Returns: the font record key.
Returns: the itext BaseFont.
Returns: the encoding.
Returns: the logical name.
Returns: true or false.