Uses of Enum
com.itextpdf.kernel.font.PdfFontFactory.EmbeddingStrategy
-
Uses of PdfFontFactory.EmbeddingStrategy in com.itextpdf.kernel.font
Modifier and TypeMethodDescriptionReturns 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 TypeMethodDescriptionstatic PdfFont
PdfFontFactory.createFont
(byte[] fontProgram, PdfFontFactory.EmbeddingStrategy embeddingStrategy) Created aPdfFont
instance by the bytes of the underlying font program.static PdfFont
PdfFontFactory.createFont
(byte[] fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy) Created aPdfFont
instance by the bytes of the underlying font program.static PdfFont
PdfFontFactory.createFont
(byte[] fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached) Created aPdfFont
instance by the bytes of the underlying font program.static PdfFont
PdfFontFactory.createFont
(FontProgram fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy) Created aPdfFont
instance given the given underlyingFontProgram
instance.static PdfFont
PdfFontFactory.createFont
(String fontProgram, PdfFontFactory.EmbeddingStrategy embeddingStrategy) Created aPdfFont
instance given the path to the font file.static PdfFont
PdfFontFactory.createFont
(String fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy) Created aPdfFont
instance given the path to the font file.static PdfFont
PdfFontFactory.createFont
(String fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached) Created aPdfFont
instance given the path to the font file.static PdfFont
PdfFontFactory.createFont
(String fontProgram, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, PdfDocument cacheTo) Creates aPdfFont
instance by the path of the font program file and given encoding and place it inside thePdfDocument
.static PdfFont
PdfFontFactory.createRegisteredFont
(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy) CreatesPdfFont
based on registeredFontProgram
's.static PdfFont
PdfFontFactory.createRegisteredFont
(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached) CreatesPdfFont
based on registeredFontProgram
's.static PdfFont
PdfFontFactory.createRegisteredFont
(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, int style) CreatesPdfFont
based on registeredFontProgram
's.static PdfFont
PdfFontFactory.createRegisteredFont
(String fontName, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, int style, boolean cached) CreatesPdfFont
based on registeredFontProgram
's.static PdfFont
PdfFontFactory.createTtcFont
(byte[] ttc, int ttcIndex, String encoding, PdfFontFactory.EmbeddingStrategy embeddingStrategy, boolean cached) Creates aPdfFont
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 aPdfFont
instance from the TrueType Collection given by the path to the .ttc file.