| Package | Description |
|---|---|
| com.itextpdf.io.font | |
| com.itextpdf.kernel.font | |
| com.itextpdf.kernel.pdf.canvas.wmf |
| Modifier and Type | Class and Description |
|---|---|
class |
CidFont |
class |
TrueTypeFont |
class |
Type1Font |
| Modifier and Type | Method and Description |
|---|---|
static FontProgram |
FontProgramFactory.createFont()
Creates a new font.
|
static FontProgram |
FontProgramFactory.createFont(byte[] fontProgram)
Creates a new font.
|
static FontProgram |
FontProgramFactory.createFont(byte[] ttc, int ttcIndex, boolean cached) |
static FontProgram |
FontProgramFactory.createFont(String fontProgram)
Creates a new font.
|
static FontProgram |
FontProgramFactory.createFont(String fontProgram, boolean cached)
Creates a new font.
|
static FontProgram |
FontProgramFactory.createFont(String name, byte[] font, boolean cached)
Creates a new font.
|
static FontProgram |
FontProgramFactory.createFont(String ttc, int ttcIndex, boolean cached)
Creates a new True Type font from ttc file,
The fonts may or may not be cached depending on the flag cached.
|
static FontProgram |
FontProgramFactory.createRegisteredFont(String fontName) |
static FontProgram |
FontProgramFactory.createRegisteredFont(String fontName, int style) |
static FontProgram |
FontProgramFactory.createRegisteredFont(String fontName, int style, boolean cached) |
static FontProgram |
FontProgramFactory.createType1Font(byte[] afm, byte[] pfb) |
static FontProgram |
FontProgramFactory.createType1Font(String name, byte[] afm, byte[] pfb, boolean cached)
Creates a new font.
|
static FontProgram |
FontProgramFactory.createType1Font(String metricsPath, String binaryPath) |
static FontProgram |
FontProgramFactory.createType1Font(String metricsPath, String binaryPath, boolean cached) |
static FontProgram |
FontCache.getFont(String fontName) |
FontProgram |
TrueTypeCollection.getFontByTccIndex(int ttcIndex)
method return TrueTypeFont by ttc index
|
static FontProgram |
FontCache.saveFont(FontProgram font, String fontName) |
| Modifier and Type | Method and Description |
|---|---|
static FontProgram |
FontCache.saveFont(FontProgram font, String fontName) |
| Modifier and Type | Class and Description |
|---|---|
class |
PdfSimpleFont |
| Modifier and Type | Class and Description |
|---|---|
class |
Type3FontProgram |
| Modifier and Type | Field and Description |
|---|---|
protected FontProgram |
PdfFont.fontProgram |
| Modifier and Type | Method and Description |
|---|---|
FontProgram |
PdfFont.getFontProgram() |
| Modifier and Type | Method and Description |
|---|---|
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram)
Created a PdfFont instance given the given underlying FontProgram instance.
|
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram, String encoding)
Created a PdfFont instance given the given underlying FontProgram instance.
|
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram, String encoding, boolean embedded)
Created a PdfFont instance given the given underlying FontProgram instance.
|
| Modifier and Type | Method and Description |
|---|---|
FontProgram |
MetaFont.getFont()
Returns the Font.
|
Copyright © 1998–2016 iText Group NV. All rights reserved.