public final class BaseFontRecord
extends java.lang.Object
Constructor and Description |
---|
BaseFontRecord(java.lang.String fileName,
boolean trueTypeFont,
boolean embedded,
com.lowagie.text.pdf.BaseFont baseFont,
boolean bold,
boolean italics)
Creates a new font record.
|
Modifier and Type | Method and Description |
---|---|
BaseFontRecordKey |
createKey()
Creates a font record key.
|
com.lowagie.text.pdf.BaseFont |
getBaseFont()
Returns the iText BaseFont.
|
java.lang.String |
getEncoding()
Returns the encoding.
|
java.lang.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() |
public BaseFontRecord(java.lang.String fileName, boolean trueTypeFont, boolean embedded, com.lowagie.text.pdf.BaseFont baseFont, boolean bold, boolean italics)
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.public boolean isTrueTypeFont()
public boolean isBold()
public boolean isItalics()
public BaseFontRecordKey createKey()
public java.lang.String getEncoding()
public boolean isEmbedded()
public java.lang.String getFileName()
public com.lowagie.text.pdf.BaseFont getBaseFont()