Uses of Class
com.lowagie.text.Font
-
Packages that use Font Package Description com.lowagie.text com.lowagie.text.html com.lowagie.text.html.simpleparser com.lowagie.text.pdf com.lowagie.text.xml.simpleparser org.librepdf.openpdf.fonts -
-
Uses of Font in com.lowagie.text
Fields in com.lowagie.text declared as Font Modifier and Type Field Description protected Font
Chunk. font
This is theFont
of this chunk of text.protected Font
Phrase. font
This is the font of this phrase.Methods in com.lowagie.text that return Font Modifier and Type Method Description Font
StandardFonts. create()
Font
StandardFonts. create(int size)
Font
Font. difference(Font font)
Replaces the attributes that are equal to null with the attributes of a given font.Font
Chunk. getFont()
Gets the font of thisChunk
.static Font
FontFactory. getFont(java.lang.String fontname)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, float size)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, float size, int style)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, float size, int style, java.awt.Color color)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, float size, java.awt.Color color)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, java.awt.Color color)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, java.awt.Color color, boolean cached)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, float size)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style, java.awt.Color color)
Constructs aFont
-object.static Font
FontFactory. getFont(java.util.Properties attributes)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, float size)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, float size, int style)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, float size, int style, java.awt.Color color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, float size, java.awt.Color color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontName, java.lang.String encoding, boolean embedded, float size, int style, java.awt.Color color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, java.awt.Color color, boolean cached)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, float size)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style, java.awt.Color color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.util.Properties attributes)
Constructs aFont
-object.Font
FontProvider. getFont(java.lang.String fontName, java.lang.String encoding, boolean embedded, float size, int style, java.awt.Color color)
Constructs aFont
-object.private Font
HeaderFooter. getFont()
Font
Phrase. getFont()
Gets the font of the firstChunk
that appears in thisPhrase
.Methods in com.lowagie.text with parameters of type Font Modifier and Type Method Description Font
Font. difference(Font font)
Replaces the attributes that are equal to null with the attributes of a given font.static Chunk
SpecialSymbol. get(char c, Font font)
Gets a chunk with a symbol character.static Phrase
Phrase. getInstance(int leading, java.lang.String string, Font font)
Gets a special kind of Phrase that changes some characters into corresponding symbols.void
Chunk. setFont(Font font)
Sets the font of thisChunk
.void
Phrase. setFont(Font font)
Sets the main font of this phrase.Constructors in com.lowagie.text with parameters of type Font Constructor Description Anchor(float leading, java.lang.String string, Font font)
Constructs anAnchor
with a certain leading, a certainString
and a certainFont
.Anchor(java.lang.String string, Font font)
Constructs anAnchor
with a certainString
and a certainFont
.Chunk(char c, Font font)
Constructs a chunk of text with a char and a certainFont
.Chunk(java.lang.String content, Font font)
Constructs a chunk of text with a certain content and a certainFont
.Font(Font other)
Copy constructor of a FontFootnote(java.lang.String text, Font font)
ListItem(float leading, java.lang.String string, Font font)
Constructs aListItem
with a certain leading,String
andFont
.ListItem(java.lang.String string, Font font)
Constructs aListItem
with a certainString
and a certainFont
.Paragraph(float leading, java.lang.String string, Font font)
Constructs aParagraph
with a certain leading,String
andFont
.Paragraph(java.lang.String string, Font font)
Constructs aParagraph
with a certainString
and a certainFont
.Phrase(float leading, java.lang.String string, Font font)
Constructs aPhrase
with a certain leading, a certainString
and a certainFont
.Phrase(java.lang.String string, Font font)
Constructs aPhrase
with a certainString
and a certainFont
. -
Uses of Font in com.lowagie.text.html
Fields in com.lowagie.text.html declared as Font Modifier and Type Field Description protected Font
HtmlWriter. standardfont
This is the standard font of the HTML.Fields in com.lowagie.text.html with type parameters of type Font Modifier and Type Field Description protected java.util.Stack<Font>
HtmlWriter. currentfont
This is the current font of the HTML.Methods in com.lowagie.text.html with parameters of type Font Modifier and Type Method Description boolean
HtmlWriter. isOtherFont(Font font)
Checks if a given font is the same as the font that was last used.void
HtmlWriter. setStandardFont(Font standardfont)
Changes the standardfont.protected void
HtmlWriter. write(Font font, java.util.Properties styleAttributes)
Writes the representation of aFont
. -
Uses of Font in com.lowagie.text.html.simpleparser
Methods in com.lowagie.text.html.simpleparser that return Font Modifier and Type Method Description Font
FactoryProperties. getFont(ChainedProperties props)
-
Uses of Font in com.lowagie.text.pdf
Fields in com.lowagie.text.pdf declared as Font Modifier and Type Field Description private Font
PdfSignatureAppearance. layer2Font
Holds value of property layer2Font.Fields in com.lowagie.text.pdf with type parameters of type Font Modifier and Type Field Description protected java.util.ArrayList<Font>
FontSelector. fonts
Methods in com.lowagie.text.pdf that return Font Modifier and Type Method Description Font
PdfSignatureAppearance. getLayer2Font()
Gets the n2 and n4 layer font.Methods in com.lowagie.text.pdf with parameters of type Font Modifier and Type Method Description void
FontSelector. addFont(Font font)
Adds aFont
to be searched for valid characters.protected void
PdfDocument. addSpacing(float extraspace, float oldleading, Font f)
Adds extra space.static float
PdfSignatureAppearance. fitText(Font font, java.lang.String text, Rectangle rect, float maxFontSize, int runDirection)
Fits the text to some rectangle adjusting the font size as needed.static void
LayoutProcessor. setKerning(Font font)
Set kerning for one fontvoid
PdfSignatureAppearance. setLayer2Font(Font layer2Font)
Sets the n2 and n4 layer font.static void
LayoutProcessor. setLigatures(Font font)
Set ligatures for one fontprivate static void
LayoutProcessor. setRunDirection(Font font, java.lang.Boolean runDirection)
Set run direction for one fontstatic void
LayoutProcessor. setRunDirectionLtr(Font font)
Set run direction for one font to LTRstatic void
LayoutProcessor. setRunDirectionRtl(Font font)
Set run direction for one font to RTLprivate static void
LayoutProcessor. setTextAttributes(Font font, java.util.Map<java.awt.font.TextAttribute,java.lang.Object> textAttributes)
Set text attributes to font The attributes are used only for glyph layout, and don't change the visual appearance of the font -
Uses of Font in com.lowagie.text.xml.simpleparser
Methods in com.lowagie.text.xml.simpleparser with parameters of type Font Modifier and Type Method Description static Chunk
EntitiesToSymbol. get(java.lang.String e, Font font)
Gets a chunk with a symbol character. -
Uses of Font in org.librepdf.openpdf.fonts
Methods in org.librepdf.openpdf.fonts that return Font Modifier and Type Method Description Font
Liberation. create()
Font
Liberation. create(int size)
-