Uses of Class
org.apache.pdfbox.pdmodel.font.PDFont
-
Packages that use PDFont Package Description org.apache.pdfbox.contentstream This package contains provides classes for working with content streams.org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.font Classes to deal with font functionality in a PDF Document.org.apache.pdfbox.pdmodel.graphics The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.org.apache.pdfbox.pdmodel.graphics.state This package deals with graphics states within the PDF document.org.apache.pdfbox.rendering org.apache.pdfbox.text -
-
Uses of PDFont in org.apache.pdfbox.contentstream
Methods in org.apache.pdfbox.contentstream with parameters of type PDFont Modifier and Type Method Description protected voidPDFStreamEngine. showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement)Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default implementation does nothing.protected voidPDFStreamEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement)Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default implementation does nothing. -
Uses of PDFont in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return PDFont Modifier and Type Method Description PDFontDefaultResourceCache. getFont(COSObject indirect)PDFontPDResources. getFont(COSName name)Returns the font resource with the given name, or null if none exists.PDFontResourceCache. getFont(COSObject indirect)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 PDFont Modifier and Type Method Description COSNamePDResources. add(PDFont font)Adds the given font to the resources of the current page and returns the name for the new resources.voidDefaultResourceCache. put(COSObject indirect, PDFont font)voidPDResources. put(COSName name, PDFont font)Sets the font resource with the given name.voidResourceCache. put(COSObject indirect, PDFont font)Puts the given indirect font resource in the cache.voidPDPageContentStream. setFont(PDFont font, float fontSize)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.font Modifier and Type Class Description classPDMMType1FontType 1 Multiple Master Font.classPDSimpleFontA simple font.classPDTrueTypeFontTrueType font.classPDType0FontA Composite (Type 0) font.classPDType1CFontType 1-equivalent CFF font.classPDType1FontA PostScript Type 1 Font.classPDType3FontA PostScript Type 3 Font.Methods in org.apache.pdfbox.pdmodel.font that return PDFont Modifier and Type Method Description static PDFontPDFontFactory. createDefaultFont()Create a default font.static PDFontPDFontFactory. createFont(COSDictionary dictionary)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 PDFont Modifier and Type Method Description PDFontPDFontSetting. getFont()This will get the font for this font setting.Methods in org.apache.pdfbox.pdmodel.graphics with parameters of type PDFont Modifier and Type Method Description voidPDFontSetting. setFont(PDFont font)This will set the font for this font setting. -
Uses of PDFont in org.apache.pdfbox.pdmodel.graphics.state
Methods in org.apache.pdfbox.pdmodel.graphics.state that return PDFont Modifier and Type Method Description PDFontPDTextState. getFont()Get the value of the font.Methods in org.apache.pdfbox.pdmodel.graphics.state with parameters of type PDFont Modifier and Type Method Description voidPDTextState. setFont(PDFont value)Set the value of the font. -
Uses of PDFont in org.apache.pdfbox.rendering
Methods in org.apache.pdfbox.rendering with parameters of type PDFont Modifier and Type Method Description protected voidPageDrawer. showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement) -
Uses of PDFont in org.apache.pdfbox.text
Methods in org.apache.pdfbox.text that return PDFont Modifier and Type Method Description PDFontTextPosition. getFont()This will get the font for the text being drawn.Constructors in org.apache.pdfbox.text with parameters of type PDFont Constructor Description TextPosition(int pageRotation, float pageWidth, float pageHeight, Matrix textMatrix, float endX, float endY, float maxHeight, float individualWidth, float spaceWidth, java.lang.String unicode, int[] charCodes, PDFont font, float fontSize, int fontSizeInPt)Constructor.
-