Uses of Class
org.sejda.sambox.pdmodel.font.PDFont
Packages that use PDFont
Package
Description
The interactive package contains classes for handling Interactive Forms, also known as "AcroForms".
-
Uses of PDFont in org.sejda.sambox.contentstream
Methods in org.sejda.sambox.contentstream with parameters of type PDFontModifier and TypeMethodDescriptionprotected voidPDFStreamEngine.showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) Called when a glyph is to be processed.This method is intended for overriding in subclasses, the default implementation does nothing.protected voidCalled when a glyph is to be processed. -
Uses of PDFont in org.sejda.sambox.pdmodel
Fields in org.sejda.sambox.pdmodel with type parameters of type PDFontModifier and TypeFieldDescriptionPDAbstractContentStream.fontStackPDAbstractContentStream.fontStackPDAbstractContentStream.fontStackMethods in org.sejda.sambox.pdmodel that return PDFontModifier and TypeMethodDescriptionDefaultResourceCache.getFont(COSObjectKey key) Returns the font resource with the given name, or null if none exists.ResourceCache.getFont(COSObjectKey key) Returns the font resource for the given key object, if it is in the cache.Methods in org.sejda.sambox.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.voidDefaultResourceCache.put(COSObjectKey key, PDFont font) voidSets the font resource with the given name.voidResourceCache.put(COSObjectKey key, PDFont font) Puts the given key font resource in the cache.voidSet the font and font size to draw text with.Constructor parameters in org.sejda.sambox.pdmodel with type arguments of type PDFontModifierConstructorDescriptionPDResources(COSDictionary resourceDictionary, ResourceCache resourceCache, Map<COSName, SoftReference<PDFont>> directFontCache) Constructor for reading. -
Uses of PDFont in org.sejda.sambox.pdmodel.font
Subclasses of PDFont in org.sejda.sambox.pdmodel.fontModifier and TypeClassDescriptionclassType 1 Multiple Master Font.classA simple font.classTrueType font.classA Composite (Type 0) font.classType 1-equivalent CFF font.classA PostScript Type 1 Font.classA PostScript Type 3 Font.Methods in org.sejda.sambox.pdmodel.font that return PDFontModifier and TypeMethodDescriptionstatic 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.sejda.sambox.pdmodel.graphics
Methods in org.sejda.sambox.pdmodel.graphics that return PDFontModifier and TypeMethodDescriptionPDFontSetting.getFont()This will get the font for this font setting.Methods in org.sejda.sambox.pdmodel.graphics with parameters of type PDFont -
Uses of PDFont in org.sejda.sambox.pdmodel.graphics.state
Methods in org.sejda.sambox.pdmodel.graphics.state that return PDFontMethods in org.sejda.sambox.pdmodel.graphics.state with parameters of type PDFont -
Uses of PDFont in org.sejda.sambox.pdmodel.interactive.annotation.layout
Methods in org.sejda.sambox.pdmodel.interactive.annotation.layout with parameters of type PDFont -
Uses of PDFont in org.sejda.sambox.pdmodel.interactive.form
Methods in org.sejda.sambox.pdmodel.interactive.form that return PDFontModifier and TypeMethodDescriptionPDVariableText.getAppearanceFont()PDVariableText.getAppearanceOverrideFont()Methods in org.sejda.sambox.pdmodel.interactive.form with parameters of type PDFontModifier and TypeMethodDescriptionvoidPDVariableText.setAppearanceOverrideFont(PDFont appearanceOverrideFont) -
Uses of PDFont in org.sejda.sambox.rendering
Methods in org.sejda.sambox.rendering with parameters of type PDFontModifier and TypeMethodDescriptionprotected voidPageDrawer.showFontGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) -
Uses of PDFont in org.sejda.sambox.text
Methods in org.sejda.sambox.text that return PDFontModifier and TypeMethodDescriptionTextPosition.getFont()This will get the font for the text being drawn.Methods in org.sejda.sambox.text with parameters of type PDFontModifier and TypeMethodDescriptionprotected floatPDFTextStreamEngine.computeFontHeight(PDFont font) Compute the font height.protected voidPDFTextStreamEngine.showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector displacement) Called when a glyph is to be processed.Constructors in org.sejda.sambox.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) TextPosition(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, PDColor color, RenderingMode renderingMode) Constructor.
PDType1Font.HELVETICA