Uses of Class
org.apache.pdfbox.pdmodel.font.PDFont
Packages that use PDFont
Package
Description
This package contains provides classes for working with content streams.
The PDModel package represents a high level API for creating and manipulating PDF documents.
Classes to deal with font functionality in a PDF Document.
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
This package deals with graphics states within the PDF document.
-
Uses of PDFont in org.apache.pdfbox.contentstream
Methods in org.apache.pdfbox.contentstream with parameters of type PDFontModifier and TypeMethodDescriptionprotected void
PDFStreamEngine.showFontGlyph
(Matrix textRenderingMatrix, PDFont font, int code, String unicode, Vector displacement) Deprecated.protected void
PDFStreamEngine.showFontGlyph
(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) Called when a glyph is to be processed.protected void
PDFStreamEngine.showGlyph
(Matrix textRenderingMatrix, PDFont font, int code, String unicode, Vector displacement) Deprecated.protected void
Called when a glyph is to be processed. -
Uses of PDFont in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel with type parameters of type PDFontModifier and TypeFieldDescriptionPDAbstractContentStream.fontStack
PDAbstractContentStream.fontStack
PDAbstractContentStream.fontStack
Methods in org.apache.pdfbox.pdmodel that return PDFontModifier and TypeMethodDescriptionReturns the font resource with the given name, or null if none exists.Returns the font resource for the given indirect object, if it is in the cache.Methods in org.apache.pdfbox.pdmodel with parameters of type PDFontModifier and TypeMethodDescriptionAdds the given font to the resources of the current page and returns the name for the new resources.void
void
Sets the font resource with the given name.void
Puts the given indirect font resource in the cache.void
Set the font and font size to draw text with. -
Uses of PDFont in org.apache.pdfbox.pdmodel.font
Subclasses of PDFont in org.apache.pdfbox.pdmodel.fontModifier and TypeClassDescriptionclass
Type 1 Multiple Master Font.class
A simple font.class
TrueType font.class
A Composite (Type 0) font.class
Type 1-equivalent CFF font.class
A PostScript Type 1 Font.class
A PostScript Type 3 Font.Methods in org.apache.pdfbox.pdmodel.font that return PDFontModifier and TypeMethodDescriptionstatic PDFont
PDFontFactory.createDefaultFont()
Deprecated.static PDFont
PDFontFactory.createFont
(COSDictionary dictionary) Creates a new PDFont instance with the appropriate subclass.static PDFont
PDFontFactory.createFont
(COSDictionary dictionary, ResourceCache resourceCache) Creates a new PDFont instance with the appropriate subclass. -
Uses of PDFont in org.apache.pdfbox.pdmodel.graphics
Methods in org.apache.pdfbox.pdmodel.graphics that return PDFontModifier and TypeMethodDescriptionPDFontSetting.getFont()
This will get the font for this font setting.Methods in org.apache.pdfbox.pdmodel.graphics with parameters of type PDFont -
Uses of PDFont in org.apache.pdfbox.pdmodel.graphics.state
Methods in org.apache.pdfbox.pdmodel.graphics.state that return PDFontMethods in org.apache.pdfbox.pdmodel.graphics.state with parameters of type PDFont -
Uses of PDFont in org.apache.pdfbox.pdmodel.interactive.annotation.layout
Methods in org.apache.pdfbox.pdmodel.interactive.annotation.layout with parameters of type PDFont -
Uses of PDFont in org.apache.pdfbox.rendering
Methods in org.apache.pdfbox.rendering with parameters of type PDFontModifier and TypeMethodDescriptionprotected void
PageDrawer.showFontGlyph
(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) -
Uses of PDFont in org.apache.pdfbox.text
Methods in org.apache.pdfbox.text that return PDFontModifier and TypeMethodDescriptionTextPosition.getFont()
This will get the font for the text being drawn.Constructors in org.apache.pdfbox.text with parameters of type PDFontModifierConstructorDescriptionTextPosition
(int pageRotation, float pageWidth, float pageHeight, Matrix textMatrix, float endX, float endY, float maxHeight, float individualWidth, float spaceWidth, String unicode, int[] charCodes, PDFont font, float fontSize, int fontSizeInPt) Constructor.
PDFStreamEngine.showFontGlyph(Matrix, PDFont, int, Vector)
instead