Package | Description |
---|---|
com.itextpdf.io.font | |
com.itextpdf.kernel.font | |
com.itextpdf.kernel.pdf.canvas.wmf | |
com.itextpdf.layout.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 name, byte[] fontProgram, boolean cached)
|
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 name, byte[] afm, byte[] pfb, boolean cached)
Deprecated.
|
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FontProvider.addFont(FontProgram fontProgram) |
boolean |
FontSet.addFont(FontProgram fontProgram, String encoding)
Add not supported for auto creating FontPrograms.
|
boolean |
FontProvider.addFont(FontProgram fontProgram, String encoding) |
boolean |
FontSet.addFont(FontProgram fontProgram, String encoding, String alias)
Add not supported for auto creating FontPrograms.
|
String |
FontProvider.getDefaultEncoding(FontProgram fontProgram) |
Copyright © 1998–2017 iText Group NV. All rights reserved.