| Package | Description |
|---|---|
| com.aowagie.text | |
| com.aowagie.text.pdf |
| Modifier and Type | Method and Description |
|---|---|
BaseFont |
Font.getBaseFont()
Gets the
BaseFont inside this object. |
BaseFont |
Font.getCalculatedBaseFont(boolean specialEncoding)
Gets the
BaseFont this class represents. |
| Constructor and Description |
|---|
Font(BaseFont bf)
Constructs a Font.
|
Font(BaseFont bf,
float size,
int style,
Color color)
Constructs a Font.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CMapAwareDocumentFont
Implementation of DocumentFont used while parsing PDF streams.
|
class |
DocumentFont |
| Modifier and Type | Field and Description |
|---|---|
protected BaseFont |
Barcode.font
The text font.
|
| Modifier and Type | Method and 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(String name,
String encoding,
boolean embedded)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded,
boolean forceRead)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb,
boolean noThrow)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AcroFields.addSubstitutionFont(BaseFont font)
Adds a substitution font to the list.
|
String |
HyphenationEvent.getHyphenatedWordPre(String word,
BaseFont font,
float fontSize,
float remainingWidth)
Hyphenates a word and returns the first part of it.
|
void |
TextField.setExtensionFont(BaseFont extensionFont)
Sets the extensionFont.
|
void |
Barcode.setFont(BaseFont font)
Sets the text font.
|
void |
PdfImportedPage.setFontAndSize(BaseFont bf,
float size)
Always throws an error.
|
void |
PdfContentByte.setFontAndSize(BaseFont bf,
float size)
Set the font and the size for the subsequent text writing.
|
Copyright © 2021. All rights reserved.