Package | Description |
---|---|
com.itextpdf.awt | |
com.itextpdf.text | |
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.codec.wmf |
Modifier and Type | Field | Description |
---|---|---|
protected BaseFont |
PdfGraphics2D.baseFont |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.HashMap<java.lang.String,BaseFont> |
PdfGraphics2D.baseFonts |
Storage for BaseFont objects created.
|
Modifier and Type | Method | Description |
---|---|---|
BaseFont |
AsianFontMapper.awtToPdf(java.awt.Font font) |
|
BaseFont |
DefaultFontMapper.awtToPdf(java.awt.Font font) |
Returns a BaseFont which can be used to represent the given AWT Font
|
BaseFont |
FontMapper.awtToPdf(java.awt.Font font) |
Returns a BaseFont which can be used to represent the given AWT Font
|
Modifier and Type | Method | Description |
---|---|---|
java.awt.Font |
DefaultFontMapper.pdfToAwt(BaseFont font,
int size) |
Returns an AWT Font which can be used to represent the given BaseFont
|
java.awt.Font |
FontMapper.pdfToAwt(BaseFont font,
int size) |
Returns an AWT Font which can be used to represent the given BaseFont
|
Modifier and Type | Method | Description |
---|---|---|
BaseFont |
Font.getBaseFont() |
Gets the
BaseFont inside this object. |
protected BaseFont |
FontFactoryImp.getBaseFont(java.lang.String fontname,
java.lang.String encoding,
boolean embedded,
boolean cached) |
|
BaseFont |
Font.getCalculatedBaseFont(boolean specialEncoding) |
Gets the
BaseFont this class represents. |
Constructor | Description |
---|---|
Font(BaseFont bf) |
Constructs a Font.
|
Font(BaseFont bf,
float size) |
Constructs a Font.
|
Font(BaseFont bf,
float size,
int style) |
Constructs a Font.
|
Font(BaseFont bf,
float size,
int style,
BaseColor color) |
Constructs a Font.
|
Modifier and Type | Class | Description |
---|---|---|
class |
CMapAwareDocumentFont |
Implementation of DocumentFont used while parsing PDF streams.
|
class |
DocumentFont |
|
class |
Type3Font |
A class to support Type3 fonts.
|
Modifier and Type | Field | Description |
---|---|---|
protected BaseFont |
PdfChunk.baseFont |
|
protected BaseFont |
Barcode.font |
The text font.
|
protected BaseFont |
BaseField.font |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.LinkedHashMap<BaseFont,com.itextpdf.text.pdf.FontDetails> |
PdfWriter.documentFonts |
The fonts of this document
|
protected static java.util.concurrent.ConcurrentHashMap<java.lang.String,BaseFont> |
BaseFont.fontCache |
cache for the fonts already used.
|
Modifier and Type | Method | Description |
---|---|---|
static BaseFont |
BaseFont.createFont() |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(PRIndirectReference fontRef) |
Creates a font based on an existing document font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean forceRead) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb,
boolean noThrow) |
Creates a new font.
|
static BaseFont |
BaseFont.createFont(java.lang.String name,
java.lang.String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb,
boolean noThrow,
boolean forceRead) |
Creates a new font.
|
BaseFont |
TextField.getExtensionFont() |
Gets the extensionFont.
|
BaseFont |
Barcode.getFont() |
Gets the text font.
|
BaseFont |
BaseField.getFont() |
Gets the text font.
|
protected BaseFont |
BaseField.getRealFont() |
|
protected BaseFont |
PdfARadioCheckField.getRealFont() |
Modifier and Type | Method | Description |
---|---|---|
java.util.ArrayList<BaseFont> |
AcroFields.getSubstitutionFonts() |
Gets the list of substitution fonts.
|
java.util.ArrayList<BaseFont> |
TextField.getSubstitutionFonts() |
Gets the list of substitution fonts.
|
Modifier and Type | Method | Description |
---|---|---|
PdfFormField |
PdfAcroForm.addComboBox(java.lang.String name,
java.lang.String[][] options,
java.lang.String defaultValue,
boolean editable,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addComboBox(java.lang.String name,
java.lang.String[] options,
java.lang.String defaultValue,
boolean editable,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addHtmlPostButton(java.lang.String name,
java.lang.String caption,
java.lang.String value,
java.lang.String url,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addMultiLineTextField(java.lang.String name,
java.lang.String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addResetButton(java.lang.String name,
java.lang.String caption,
java.lang.String value,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addSelectList(java.lang.String name,
java.lang.String[][] options,
java.lang.String defaultValue,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addSelectList(java.lang.String name,
java.lang.String[] options,
java.lang.String defaultValue,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addSingleLinePasswordField(java.lang.String name,
java.lang.String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
PdfFormField |
PdfAcroForm.addSingleLineTextField(java.lang.String name,
java.lang.String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
void |
AcroFields.addSubstitutionFont(BaseFont font) |
Adds a substitution font to the list.
|
protected static java.util.ArrayList<java.lang.String> |
BaseField.breakLines(java.util.ArrayList<java.lang.String> breaks,
BaseFont font,
float fontSize,
float width) |
|
void |
PdfAcroForm.drawButton(PdfFormField button,
java.lang.String caption,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
void |
PdfContentByte.drawButton(double llx,
double lly,
double urx,
double ury,
java.lang.String text,
BaseFont bf,
float size) |
Draws a button.
|
void |
PdfContentByte.drawButton(float llx,
float lly,
float urx,
float ury,
java.lang.String text,
BaseFont bf,
float size) |
Draws a button.
|
void |
PdfAcroForm.drawMultiLineOfText(PdfFormField field,
java.lang.String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
void |
PdfAcroForm.drawSingleLineOfText(PdfFormField field,
java.lang.String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
|
java.lang.String |
HyphenationAuto.getHyphenatedWordPre(java.lang.String word,
BaseFont font,
float fontSize,
float remainingWidth) |
Hyphenates a word and returns the first part of it.
|
java.lang.String |
HyphenationEvent.getHyphenatedWordPre(java.lang.String word,
BaseFont font,
float fontSize,
float remainingWidth) |
Hyphenates a word and returns the first part of it.
|
static PdfTextArray |
PdfContentByte.getKernArray(java.lang.String text,
BaseFont font) |
Constructs a kern array for a text in a certain font
|
void |
TextField.setExtensionFont(BaseFont extensionFont) |
Sets the extensionFont.
|
void |
Barcode.setFont(BaseFont font) |
Sets the text font.
|
void |
BaseField.setFont(BaseFont font) |
Sets the text font.
|
void |
PdfAppearance.setFontAndSize(BaseFont bf,
float size) |
Set the font and the size for the subsequent text writing.
|
void |
PdfContentByte.setFontAndSize(BaseFont bf,
float size) |
Set the font and the size for the subsequent text writing.
|
void |
PdfImportedPage.setFontAndSize(BaseFont bf,
float size) |
Always throws an error.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AcroFields.setSubstitutionFonts(java.util.ArrayList<BaseFont> substitutionFonts) |
Sets a list of substitution fonts.
|
void |
TextField.setSubstitutionFonts(java.util.ArrayList<BaseFont> substitutionFonts) |
Sets a list of substitution fonts.
|
Modifier and Type | Method | Description |
---|---|---|
BaseFont |
MetaFont.getFont() |
Copyright © 1998–2018. All rights reserved.