Uses of Class
org.apache.pdfbox.pdmodel.font.PDFont
-
Packages that use PDFont Package Description org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.edit The PDModel edit package will be used to store classes for creating page content.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.text The PDModel text package deals with text states, operations, and parameters within the PDF document.org.apache.pdfbox.util This package contains utility classes that are used by the PDFBox project. -
-
Uses of PDFont in org.apache.pdfbox.pdmodel
Methods in org.apache.pdfbox.pdmodel that return types with arguments of type PDFont Modifier and Type Method Description java.util.Map<java.lang.String,PDFont>PDResources. getFonts()This will get the map of fonts.java.util.Map<java.lang.String,PDFont>PDResources. getFonts(java.util.Map<java.lang.String,PDFont> fontCache)Deprecated.due to some side effects font caching is no longer supported, usePDResources.getFonts()insteadMethods in org.apache.pdfbox.pdmodel with parameters of type PDFont Modifier and Type Method Description java.lang.StringPDResources. addFont(PDFont font)Adds the given font to the resources of the current page.java.lang.StringPDResources. addFont(PDFont font, java.lang.String fontKey)Adds the given font to the resources of the current page using the given font key.Method parameters in org.apache.pdfbox.pdmodel with type arguments of type PDFont Modifier and Type Method Description java.util.Map<java.lang.String,PDFont>PDResources. getFonts(java.util.Map<java.lang.String,PDFont> fontCache)Deprecated.due to some side effects font caching is no longer supported, usePDResources.getFonts()insteadvoidPDResources. setFonts(java.util.Map<java.lang.String,PDFont> fontsValue)This will set the map of fonts. -
Uses of PDFont in org.apache.pdfbox.pdmodel.edit
Methods in org.apache.pdfbox.pdmodel.edit with parameters of type PDFont Modifier and Type Method Description voidPDPageContentStream. setFont(PDFont font, float fontSize)Set the font 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 classPDCIDFontThis is implementation for the CIDFontType0/CIDFontType2 Fonts.classPDCIDFontType0FontThis is implementation of the CIDFontType0 Font.classPDCIDFontType2FontThis is implementation of the CIDFontType2 Font.classPDMMType1FontThis is implementation of the Multiple Master Type1 Font.classPDSimpleFontThis class contains implementation details of the simple pdf fonts.classPDTrueTypeFontThis is the TrueType implementation of fonts.classPDType0FontThis is implementation of the Type0 Font.classPDType1AfmPfbFontThis is implementation of the Type1 Font with a afm and a pfb file.classPDType1CFontThis class represents a CFF/Type2 Font (aka Type1C Font).classPDType1FontThis is implementation of the Type1 Font.classPDType3FontThis is implementation of the Type3 Font.Methods in org.apache.pdfbox.pdmodel.font that return PDFont Modifier and Type Method Description static PDFontPDFontFactory. createDefaultFont()Create a default fontstatic PDFontPDFontFactory. createFont(COSDictionary dic)This will create the correct font based on information in the dictionary.static PDFontPDFontFactory. createFont(COSDictionary dic, java.util.Map fontCache)Deprecated.due to some side effects font caching is no longer supported, usePDFontFactory.createFont(COSDictionary)insteadPDFontPDType0Font. getDescendantFont()Provides the descendant font. -
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.text
Methods in org.apache.pdfbox.pdmodel.text that return PDFont Modifier and Type Method Description PDFontPDTextState. getFont()Get the value of the font.Methods in org.apache.pdfbox.pdmodel.text 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.util
Methods in org.apache.pdfbox.util that return PDFont Modifier and Type Method Description PDFontTextPosition. getFont()This will get the font for the text being drawn.Methods in org.apache.pdfbox.util that return types with arguments of type PDFont Modifier and Type Method Description java.util.Map<java.lang.String,PDFont>PDFStreamEngine. getFonts()Method parameters in org.apache.pdfbox.util with type arguments of type PDFont Modifier and Type Method Description voidPDFStreamEngine. setFonts(java.util.Map<java.lang.String,PDFont> value)Constructors in org.apache.pdfbox.util with parameters of type PDFont Constructor Description TextPosition(int pageRotation, float pageWidthValue, float pageHeightValue, Matrix textPositionSt, float endXValue, float endYValue, float maxFontH, float individualWidth, float spaceWidth, java.lang.String string, int[] codePoints, PDFont currentFont, float fontSizeValue, int fontSizeInPt)Constructor.TextPosition(int pageRotation, float pageWidthValue, float pageHeightValue, Matrix textPositionSt, float endXValue, float endYValue, float maxFontH, float individualWidth, float spaceWidth, java.lang.String string, PDFont currentFont, float fontSizeValue, int fontSizeInPt)TextPosition(int pageRotation, float pageWidthValue, float pageHeightValue, Matrix textPositionSt, Matrix textPositionEnd, float maxFontH, float individualWidth, float spaceWidth, java.lang.String string, PDFont currentFont, float fontSizeValue, int fontSizeInPt)TextPosition(PDPage page, Matrix textPositionSt, Matrix textPositionEnd, float maxFontH, float[] individualWidths, float spaceWidth, java.lang.String string, PDFont currentFont, float fontSizeValue, int fontSizeInPt, float ws)Constructor.
-