| Package | Description |
|---|---|
| com.itextpdf.io.font |
| 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[] font)
Creates a new font.
|
static FontProgram |
FontProgramFactory.createFont(byte[] ttc,
int ttcIndex,
boolean cached) |
static FontProgram |
FontProgramFactory.createFont(String name)
Creates a new font.
|
static FontProgram |
FontProgramFactory.createFont(String font,
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 ttcPath,
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) |
Copyright © 1998–2016 iText Group NV. All rights reserved.