Uses of Class
org.apache.pdfbox.pdmodel.font.encoding.Encoding
Packages that use Encoding
Package
Description
Classes to deal with font functionality in a PDF Document.
-
Uses of Encoding in org.apache.pdfbox.pdmodel.font
Fields in org.apache.pdfbox.pdmodel.font declared as EncodingModifier and TypeFieldDescriptionprotected Encoding
PDSimpleFont.encoding
private final Encoding
PDTrueTypeFontEmbedder.fontEncoding
private final Encoding
PDType1FontEmbedder.fontEncoding
Methods in org.apache.pdfbox.pdmodel.font that return EncodingModifier and TypeMethodDescriptionPDSimpleFont.getEncoding()
Returns the Encoding vector.PDTrueTypeFontEmbedder.getFontEncoding()
Returns the font's encoding.PDType1FontEmbedder.getFontEncoding()
Returns the font's encoding.protected abstract Encoding
PDSimpleFont.readEncodingFromFont()
Called by readEncoding() if the encoding needs to be extracted from the font file.protected Encoding
PDTrueTypeFont.readEncodingFromFont()
protected Encoding
PDType1CFont.readEncodingFromFont()
protected Encoding
PDType1Font.readEncodingFromFont()
protected Encoding
PDType3Font.readEncodingFromFont()
Methods in org.apache.pdfbox.pdmodel.font with parameters of type EncodingModifier and TypeMethodDescriptionstatic PDTrueTypeFont
PDTrueTypeFont.load
(PDDocument doc, File file, Encoding encoding) Loads a TTF to be embedded into a document as a simple font.static PDTrueTypeFont
PDTrueTypeFont.load
(PDDocument doc, InputStream input, Encoding encoding) Loads a TTF to be embedded into a document as a simple font.static PDTrueTypeFont
PDTrueTypeFont.load
(PDDocument doc, TrueTypeFont ttf, Encoding encoding) Loads a TTF to be embedded into a document as a simple font.Constructors in org.apache.pdfbox.pdmodel.font with parameters of type EncodingModifierConstructorDescriptionprivate
PDTrueTypeFont
(PDDocument document, TrueTypeFont ttf, Encoding encoding, boolean closeTTF) Creates a new TrueType font for embedding.(package private)
PDTrueTypeFontEmbedder
(PDDocument document, COSDictionary dict, TrueTypeFont ttf, Encoding encoding) Creates a new TrueType font embedder for the given TTF as a PDTrueTypeFont.PDType1Font
(PDDocument doc, InputStream pfbIn, Encoding encoding) Creates a new Type 1 font for embedding.(package private)
PDType1FontEmbedder
(PDDocument doc, COSDictionary dict, InputStream pfbStream, Encoding encoding) This will load a PFB to be embedded into a document. -
Uses of Encoding in org.apache.pdfbox.pdmodel.font.encoding
Subclasses of Encoding in org.apache.pdfbox.pdmodel.font.encodingModifier and TypeClassDescriptionclass
A font's built-in encoding.class
This will perform the encoding from a dictionary.class
This is an interface to a text encoder.class
This is the Mac OS Roman encoding, which is similar to the MacRomanEncoding with the addition of 15 entriesclass
This is an interface to a text encoder.class
This is an interface to a text encoder.class
This is an interface to a text encoder.class
An encoding for a Type 1 font.class
This the win ansi encoding.class
This is an interface to a text encoder.Fields in org.apache.pdfbox.pdmodel.font.encoding declared as EncodingMethods in org.apache.pdfbox.pdmodel.font.encoding that return EncodingModifier and TypeMethodDescriptionDictionaryEncoding.getBaseEncoding()
Returns the base encoding.static Encoding
Encoding.getInstance
(COSName name) This will get an encoding by name.Constructors in org.apache.pdfbox.pdmodel.font.encoding with parameters of type EncodingModifierConstructorDescriptionDictionaryEncoding
(COSDictionary fontEncoding, boolean isNonSymbolic, Encoding builtIn) Creates a new DictionaryEncoding from a PDF.