Package | Description |
---|---|
com.itextpdf.io.font | |
com.itextpdf.kernel.font | |
com.itextpdf.kernel.pdf.canvas.wmf | |
com.itextpdf.layout.font | |
com.itextpdf.svg.processors.impl |
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) |
Modifier and Type | Class and Description |
---|---|
class |
PdfSimpleFont |
Modifier and Type | Class and Description |
---|---|
class |
DocTrueTypeFont |
class |
Type3Font
FontProgram class for Type 3 font.
|
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)
Deprecated.
Will be removed in next major release. Use
PdfFontFactory.createFont(FontProgram, String, EmbeddingStrategy) instead
|
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy)
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)
Add font to FontSet cache.
|
boolean |
FontSet.addFont(FontProgram fontProgram, String encoding)
Add not supported for auto creating FontPrograms.
|
boolean |
FontProvider.addFont(FontProgram fontProgram, String encoding)
Add font to FontSet cache.
|
boolean |
FontProvider.addFont(FontProgram fontProgram, String encoding, Range unicodeRange)
Add font to FontSet cache.
|
boolean |
FontSet.addFont(FontProgram fontProgram, String encoding, String alias)
Add not supported for auto creating FontPrograms.
|
boolean |
FontSet.addFont(FontProgram fontProgram, String encoding, String alias, Range unicodeRange)
Add not supported for auto creating FontPrograms.
|
static FontInfo |
FontInfo.create(FontProgram fontProgram, String encoding, String alias) |
static FontInfo |
FontInfo.create(FontProgram fontProgram, String encoding, String alias, Range range) |
String |
FontProvider.getDefaultEncoding(FontProgram fontProgram)
Gets the default encoding for specific font.
|
Modifier and Type | Method and Description |
---|---|
void |
SvgProcessorContext.addTemporaryFont(FontProgram fontProgram, String encoding, String alias)
Add temporary font from @font-face.
|
void |
SvgProcessorContext.addTemporaryFont(FontProgram fontProgram, String encoding, String alias, Range unicodeRange)
Add temporary font from @font-face.
|
Copyright © 1998–2023 iText Group NV. All rights reserved.