Uses of Class
com.itextpdf.text.Font
Packages that use Font
Package
Description
XMLWorker package provides a framework to parse XML to PDF with iText.
Contains classes that can apply css rules on certain
Elements.Elements created for specific use when processing HTML.-
Uses of Font in com.itextpdf.text
Classes in com.itextpdf.text that implement interfaces with type arguments of type FontModifier and TypeClassDescriptionclassContains all the specifications of a font: fontfamily, size, style and color.Fields in com.itextpdf.text declared as FontModifier and TypeFieldDescriptionprotected FontChunk.fontThis is theFontof this chunk of text.protected FontPhrase.fontThis is the font of this phrase.Methods in com.itextpdf.text that return FontModifier and TypeMethodDescriptionFont.difference(Font font) Replaces the attributes that are equal to null with the attributes of a given font.Chunk.getFont()Gets the font of thisChunk.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontFontFactory.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color) Constructs aFont-object.static FontFontFactory.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached) Constructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.static FontConstructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color) Constructs aFont-object.FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached) Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.Constructs aFont-object.FontProvider.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color) Constructs aFont-object.Phrase.getFont()Gets the font of the firstChunkthat appears in thisPhrase.Methods in com.itextpdf.text with parameters of type FontModifier and TypeMethodDescriptionintCompares thisFontwith anotherFont.difference(Font font) Replaces the attributes that are equal to null with the attributes of a given font.static ChunkGets a chunk with a symbol character.static final PhrasePhrase.getInstance(int leading, String string, Font font) Gets a special kind of Phrase that changes some characters into corresponding symbols.voidSets the font of thisChunk.voidSets the main font of this phrase.Constructors in com.itextpdf.text with parameters of type FontModifierConstructorDescriptionConstructs anAnchorwith a certain leading, a certainStringand a certainFont.Constructs anAnchorwith a certainStringand a certainFont.Constructs a chunk of text with a char and a certainFont.Constructs a chunk of text with a certain content and a certainFont.Copy constructor of a FontConstructs aListItemwith a certain leading,StringandFont.Constructs aListItemwith a certainStringand a certainFont.Constructs aParagraphwith a certain leading,StringandFont.Constructs aParagraphwith a certainStringand a certainFont.Constructs aPhrasewith a certain leading, a certainStringand a certainFont.Constructs aPhrasewith a certainStringand a certainFont. -
Uses of Font in com.itextpdf.text.html.simpleparser
Methods in com.itextpdf.text.html.simpleparser that return FontModifier and TypeMethodDescriptionElementFactory.getFont(ChainedProperties chain) Deprecated.Creates a Font object based on a chain of properties. -
Uses of Font in com.itextpdf.text.pdf
Fields in com.itextpdf.text.pdf declared as FontModifier and TypeFieldDescriptionprotected FontFontSelector.currentFontprivate FontPdfSignatureAppearance.layer2FontFont for the text in Layer 2.Fields in com.itextpdf.text.pdf with type parameters of type FontMethods in com.itextpdf.text.pdf that return FontModifier and TypeMethodDescriptionprotected FontFontSelector.getFont(int i) PdfSignatureAppearance.getLayer2Font()Gets the n2 and n4 layer font.Methods in com.itextpdf.text.pdf with parameters of type FontModifier and TypeMethodDescriptionvoidAdds aFontto be searched for valid characters.protected voidPdfDocument.addSpacing(float extraspace, float oldleading, Font f) Calls addSpacing(float, float, Font, boolean (false)).protected voidPdfDocument.addSpacing(float extraspace, float oldleading, Font f, boolean spacingAfter) Adds extra spacing.static floatFits the text to some rectangle adjusting the font size as needed.private booleanFontSelector.isSupported(Font font) voidPdfSignatureAppearance.setLayer2Font(Font layer2Font) Sets the n2 and n4 layer font. -
Uses of Font in com.itextpdf.text.pdf.draw
Constructors in com.itextpdf.text.pdf.draw with parameters of type FontModifierConstructorDescriptionLineSeparator(Font font) Creates a new instance of the LineSeparator class. -
Uses of Font in com.itextpdf.text.pdf.pdfcleanup
Methods in com.itextpdf.text.pdf.pdfcleanup that return FontModifier and TypeMethodDescriptionprivate FontPdfCleanUpProcessor.retrieveFontFromAcroForm(PdfName fontName, PdfNumber size) -
Uses of Font in com.itextpdf.text.xml.simpleparser
Methods in com.itextpdf.text.xml.simpleparser with parameters of type Font -
Uses of Font in com.itextpdf.tool.xml
Methods in com.itextpdf.tool.xml that return Font -
Uses of Font in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply that return Font -
Uses of Font in com.itextpdf.tool.xml.html.pdfelement
Constructors in com.itextpdf.tool.xml.html.pdfelement with parameters of type FontModifierConstructorDescriptionNoNewLineParagraph(float leading, String string, Font font) Constructs aParagraphwith a certain leading,StringandFont.NoNewLineParagraph(String string, Font font) Constructs aParagraphwith a certainStringand a certainFont.