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.String
PDResources. addFont(PDFont font)
Adds the given font to the resources of the current page.java.lang.String
PDResources. 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()
insteadvoid
PDResources. 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 void
PDPageContentStream. 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 class
PDCIDFont
This is implementation for the CIDFontType0/CIDFontType2 Fonts.class
PDCIDFontType0Font
This is implementation of the CIDFontType0 Font.class
PDCIDFontType2Font
This is implementation of the CIDFontType2 Font.class
PDMMType1Font
This is implementation of the Multiple Master Type1 Font.class
PDSimpleFont
This class contains implementation details of the simple pdf fonts.class
PDTrueTypeFont
This is the TrueType implementation of fonts.class
PDType0Font
This is implementation of the Type0 Font.class
PDType1AfmPfbFont
This is implementation of the Type1 Font with a afm and a pfb file.class
PDType1CFont
This class represents a CFF/Type2 Font (aka Type1C Font).class
PDType1Font
This is implementation of the Type1 Font.class
PDType3Font
This is implementation of the Type3 Font.Methods in org.apache.pdfbox.pdmodel.font that return PDFont Modifier and Type Method Description static PDFont
PDFontFactory. createDefaultFont()
Create a default fontstatic PDFont
PDFontFactory. createFont(COSDictionary dic)
This will create the correct font based on information in the dictionary.static PDFont
PDFontFactory. createFont(COSDictionary dic, java.util.Map fontCache)
Deprecated.due to some side effects font caching is no longer supported, usePDFontFactory.createFont(COSDictionary)
insteadPDFont
PDType0Font. 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 PDFont
PDFontSetting. 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 void
PDFontSetting. 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 PDFont
PDTextState. getFont()
Get the value of the font.Methods in org.apache.pdfbox.pdmodel.text with parameters of type PDFont Modifier and Type Method Description void
PDTextState. 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 PDFont
TextPosition. 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 void
PDFStreamEngine. 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.
-