Package | Description |
---|---|
com.itextpdf.kernel.font |
Modifier and Type | Method and Description |
---|---|
static PdfFontFactory.EmbeddingStrategy |
PdfFontFactory.EmbeddingStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdfFontFactory.EmbeddingStrategy[] |
PdfFontFactory.EmbeddingStrategy.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static PdfFont |
PdfFontFactory.createFont(byte[] fontProgram, PdfFontFactory.EmbeddingStrategy embeddingStrategy)
Created a PdfFont instance by the bytes of the underlying font program.
|
static PdfFont |
PdfFontFactory.createFont(byte[] fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy)
Created a PdfFont instance by the bytes of the underlying font program.
|
static PdfFont |
PdfFontFactory.createFont(byte[] fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached)
Created a PdfFont instance by the bytes of the underlying font program.
|
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy)
Created a PdfFont instance given the given underlying FontProgram instance.
|
static PdfFont |
PdfFontFactory.createFont(String fontProgram, PdfFontFactory.EmbeddingStrategy embeddingStrategy)
Created a PdfFont instance given the path to the font file.
|
static PdfFont |
PdfFontFactory.createFont(String fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy)
Created a PdfFont instance given the path to the font file.
|
static PdfFont |
PdfFontFactory.createFont(String fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached)
Created a PdfFont instance given the path to the font file.
|
static PdfFont |
PdfFontFactory.createFont(String fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, PdfDocument cacheTo)
Creates a PdfFont instance by the path of the font program file and given encoding and place it inside the PdfDocument .
|
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy)
Creates PdfFont based on registered FontProgram 's.
|
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached)
Creates PdfFont based on registered FontProgram 's.
|
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, int style)
Creates PdfFont based on registered FontProgram 's.
|
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, int style, boolean cached)
Creates PdfFont based on registered FontProgram 's.
|
static PdfFont |
PdfFontFactory.createTtcFont(byte[] ttc, int ttcIndex, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached)
Creates a PdfFont instance from the TrueType Collection represented by its byte contents.
|
static PdfFont |
PdfFontFactory.createTtcFont(String ttc, int ttcIndex, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached)
Creates a PdfFont instance from the TrueType Collection given by the path to the .ttc file.
|
Copyright © 1998–2022 iText Group NV. All rights reserved.