| 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 standard Helvetica font program file.
|
static FontProgram |
FontProgramFactory.createFont(byte[] fontProgram)
Creates a new font program.
|
static FontProgram |
FontProgramFactory.createFont(byte[] fontProgram,
boolean cached)
Creates a new font program.
|
static FontProgram |
FontProgramFactory.createFont(byte[] ttc,
int ttcIndex,
boolean cached)
Creates a new TrueType font program from ttc (TrueType Collection) file bytes.
|
static FontProgram |
FontProgramFactory.createFont(String fontProgram)
Creates a new font program.
|
static FontProgram |
FontProgramFactory.createFont(String fontProgram,
boolean cached)
Creates a new font program.
|
static FontProgram |
FontProgramFactory.createFont(String ttc,
int ttcIndex,
boolean cached)
Creates a new TrueType font program from ttc (TrueType Collection) file.
|
static FontProgram |
FontProgramFactory.createRegisteredFont(String fontName)
Creates a FontProgram from the font file that has been previously registered.
|
static FontProgram |
FontProgramFactory.createRegisteredFont(String fontName,
int style)
Creates a FontProgram from the font file that has been previously registered.
|
static FontProgram |
FontProgramFactory.createRegisteredFont(String fontName,
int style,
boolean cached)
Creates a FontProgram from the font file that has been previously registered.
|
static FontProgram |
FontProgramFactory.createType1Font(byte[] afm,
byte[] pfb)
Creates a new Type 1 font by the byte contents of the corresponding AFM/PFM and PFB files
|
static FontProgram |
FontProgramFactory.createType1Font(byte[] afm,
byte[] pfb,
boolean cached)
Creates a new Type 1 font by the byte contents of the corresponding AFM/PFM and PFB files
|
static FontProgram |
FontProgramFactory.createType1Font(String metricsPath,
String binaryPath)
Creates a new Type 1 font by the corresponding AFM/PFM and PFB files
|
static FontProgram |
FontProgramFactory.createType1Font(String metricsPath,
String binaryPath,
boolean cached)
Creates a new Type 1 font by the corresponding AFM/PFM and PFB files
|
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 FontProgramDescriptor |
FontProgramDescriptorFactory.fetchDescriptor(FontProgram fontProgram) |
static FontProgram |
FontCache.saveFont(FontProgram font,
String fontName) |
Copyright © 1998–2018 iText Group NV. All rights reserved.