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.debugger.fontencodingpane 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.pdmodel.interactive.annotation.layout org.apache.pdfbox.pdmodel.interactive.form The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".org.apache.pdfbox.preflight.font org.apache.pdfbox.preflight.font.container org.apache.pdfbox.preflight.process.reflect org.apache.pdfbox.rendering org.apache.pdfbox.text org.apache.pdfbox.tools -
-
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)Deprecated.protected voidPDFStreamEngine. showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)Called when a glyph is to be processed.protected voidPDFStreamEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement)Deprecated.protected voidPDFStreamEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)Called when a glyph is to be processed. -
Uses of PDFont in org.apache.pdfbox.debugger.fontencodingpane
Methods in org.apache.pdfbox.debugger.fontencodingpane with parameters of type PDFont Modifier and Type Method Description private java.lang.Object[][]Type0Font. readCIDToGIDMap(PDCIDFont font, PDFont parentFont) -
Uses of PDFont in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel with type parameters of type PDFont Modifier and Type Field Description private java.util.Map<COSName,java.lang.ref.SoftReference<PDFont>>PDResources. directFontCacheprivate java.util.Map<COSObject,java.lang.ref.SoftReference<PDFont>>DefaultResourceCache. fontsprotected java.util.Deque<PDFont>PDAbstractContentStream. fontStackprivate java.util.Stack<PDFont>PDPageContentStream. fontStackprivate java.util.Set<PDFont>PDDocument. fontsToSubsetMethods 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 that return types with arguments of type PDFont Modifier and Type Method Description (package private) java.util.Set<PDFont>PDDocument. getFontsToSubset()Returns the list of fonts which will be subset before the document is saved.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.voidPDAbstractContentStream. setFont(PDFont font, float fontSize)Set the font and font size to draw text with.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()Deprecated.static PDFontPDFontFactory. createFont(COSDictionary dictionary)Creates a new PDFont instance with the appropriate subclass.static PDFontPDFontFactory. 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 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
Fields in org.apache.pdfbox.pdmodel.graphics.state declared as PDFont Modifier and Type Field Description private PDFontPDTextState. fontMethods 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.pdmodel.interactive.annotation.layout
Fields in org.apache.pdfbox.pdmodel.interactive.annotation.layout declared as PDFont Modifier and Type Field Description private PDFontAppearanceStyle. fontMethods in org.apache.pdfbox.pdmodel.interactive.annotation.layout that return PDFont Modifier and Type Method Description (package private) PDFontAppearanceStyle. getFont()Get the font used for text formatting.Methods in org.apache.pdfbox.pdmodel.interactive.annotation.layout with parameters of type PDFont Modifier and Type Method Description (package private) floatPlainText.Line. calculateWidth(PDFont font, float fontSize)(package private) java.util.List<PlainText.Line>PlainText.Paragraph. getLines(PDFont font, float fontSize, float width)Break the paragraph into individual lines.voidAppearanceStyle. setFont(PDFont font)Set the font to be used for text formatting. -
Uses of PDFont in org.apache.pdfbox.pdmodel.interactive.form
Fields in org.apache.pdfbox.pdmodel.interactive.form declared as PDFont Modifier and Type Field Description private PDFontAppearanceStyle. fontprivate PDFontPDDefaultAppearanceString. fontMethods in org.apache.pdfbox.pdmodel.interactive.form that return PDFont Modifier and Type Method Description (package private) PDFontAppearanceStyle. getFont()Get the font used for text formatting.(package private) PDFontPDDefaultAppearanceString. getFont()Returns the font.Methods in org.apache.pdfbox.pdmodel.interactive.form with parameters of type PDFont Modifier and Type Method Description private floatAppearanceGeneratorHelper. calculateFontSize(PDFont font, PDRectangle contentRect)My "not so great" method for calculating the fontsize.(package private) floatPlainText.Line. calculateWidth(PDFont font, float fontSize)(package private) java.util.List<PlainText.Line>PlainText.Paragraph. getLines(PDFont font, float fontSize, float width)Break the paragraph into individual lines.private voidAppearanceGeneratorHelper. insertGeneratedCombAppearance(PDPageContentStream contents, PDAppearanceStream appearanceStream, PDFont font, float fontSize)Generate the appearance for comb fields.private voidAppearanceGeneratorHelper. insertGeneratedListboxAppearance(PDPageContentStream contents, PDAppearanceStream appearanceStream, PDRectangle contentRect, PDFont font, float fontSize)private voidAppearanceGeneratorHelper. insertGeneratedListboxSelectionHighlight(PDPageContentStream contents, PDAppearanceStream appearanceStream, PDFont font, float fontSize)private floatAppearanceGeneratorHelper. resolveCapHeight(PDFont font)private floatAppearanceGeneratorHelper. resolveDescent(PDFont font)private floatAppearanceGeneratorHelper. resolveGlyphHeight(PDFont font, int code)(package private) voidAppearanceStyle. setFont(PDFont font)Set the font to be used for text formatting.(package private) voidPDDefaultAppearanceString. setFont(PDFont font)Set the font. -
Uses of PDFont in org.apache.pdfbox.preflight.font
Fields in org.apache.pdfbox.preflight.font declared as PDFont Modifier and Type Field Description protected PDFontType0FontValidator. fontMethods in org.apache.pdfbox.preflight.font with parameters of type PDFont Modifier and Type Method Description java.util.List<java.lang.Float>Type3FontValidator. getWidths(PDFont font)Constructors in org.apache.pdfbox.preflight.font with parameters of type PDFont Constructor Description Type0FontValidator(PreflightContext context, PDFont font) -
Uses of PDFont in org.apache.pdfbox.preflight.font.container
Constructors in org.apache.pdfbox.preflight.font.container with parameters of type PDFont Constructor Description Type0Container(PDFont font) -
Uses of PDFont in org.apache.pdfbox.preflight.process.reflect
Methods in org.apache.pdfbox.preflight.process.reflect that return types with arguments of type PDFont Modifier and Type Method Description private java.util.Map<java.lang.String,PDFont>ResourcesValidationProcess. getFonts(COSDictionary resources, PreflightContext context)This will get the map of fonts.protected FontValidator<? extends FontContainer<? extends PDFont>>FontValidationProcess. getFontValidator(PreflightContext context, PDFont font)Create the right "Validator" object for the given font typeMethods in org.apache.pdfbox.preflight.process.reflect with parameters of type PDFont Modifier and Type Method Description protected FontValidator<? extends FontContainer<? extends PDFont>>FontValidationProcess. getFontValidator(PreflightContext context, PDFont font)Create the right "Validator" object for the given font type -
Uses of PDFont in org.apache.pdfbox.rendering
Fields in org.apache.pdfbox.rendering declared as PDFont Modifier and Type Field Description private PDFontTTFGlyph2D. fontFields in org.apache.pdfbox.rendering with type parameters of type PDFont Modifier and Type Field Description private java.util.Map<PDFont,Glyph2D>PageDrawer. fontGlyph2DMethods in org.apache.pdfbox.rendering with parameters of type PDFont Modifier and Type Method Description private Glyph2DPageDrawer. createGlyph2D(PDFont font)Provide a Glyph2D for the given font.private voidPageDrawer. drawGlyph2D(Glyph2D glyph2D, PDFont font, int code, Vector displacement, java.awt.geom.AffineTransform at)Render the font using the Glyph2D interface.protected voidPageDrawer. showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)Constructors in org.apache.pdfbox.rendering with parameters of type PDFont Constructor Description TTFGlyph2D(TrueTypeFont ttf, PDFont font, boolean isCIDFont) -
Uses of PDFont in org.apache.pdfbox.text
Fields in org.apache.pdfbox.text declared as PDFont Modifier and Type Field Description private PDFontTextPosition. fontMethods 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.Methods in org.apache.pdfbox.text with parameters of type PDFont Modifier and Type Method Description protected floatLegacyPDFStreamEngine. computeFontHeight(PDFont font)Compute the font height.protected voidLegacyPDFStreamEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, java.lang.String unicode, Vector displacement)Called when a glyph is to be processed.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. -
Uses of PDFont in org.apache.pdfbox.tools
Fields in org.apache.pdfbox.tools declared as PDFont Modifier and Type Field Description private PDFontTextToPDF. fontMethods in org.apache.pdfbox.tools that return PDFont Modifier and Type Method Description PDFontTextToPDF. getFont()Methods in org.apache.pdfbox.tools with parameters of type PDFont Modifier and Type Method Description voidTextToPDF. setFont(PDFont aFont)protected voidExtractImages.ImageGraphicsEngine. showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement)
-