Uses of Class
com.aowagie.text.Font

Packages that use Font
  • Uses of Font in com.aowagie.text

    Fields in com.aowagie.text declared as Font
    Modifier and Type
    Field
    Description
    protected Font
    Chunk.font
    This is the Font of this chunk of text.
    protected Font
    Phrase.font
    This is the font of this phrase.
    Methods in com.aowagie.text that return Font
    Modifier and Type
    Method
    Description
    (package private) Font
    Font.difference(Font font)
    Replaces the attributes that are equal to null with the attributes of a given font.
    Chunk.getFont()
    Gets the font of this Chunk.
    static Font
    FontFactory.getFont(String fontname)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, float size)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, float size, int style)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, float size, int style, Color color)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, float size, Color color)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, boolean embedded)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, boolean embedded, float size)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, boolean embedded, float size, int style)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, boolean embedded, float size, int style, Color color)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, boolean embedded, float size, int style, Color color, boolean cached)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, float size)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, float size, int style)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(String fontname, String encoding, float size, int style, Color color)
    Constructs a Font-object.
    static Font
    FontFactory.getFont(Properties attributes)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, float size)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, float size, int style)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, float size, int style, Color color)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, float size, Color color)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, boolean embedded)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size, int style)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size, int style, Color color)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size, int style, Color color, boolean cached)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, float size)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, float size, int style)
    Constructs a Font-object.
    FontFactoryImp.getFont(String fontname, String encoding, float size, int style, Color color)
    Constructs a Font-object.
    FontFactoryImp.getFont(Properties attributes)
    Constructs a Font-object.
    Phrase.getFont()
    Gets the font of the first Chunk that appears in this Phrase.
    Methods in com.aowagie.text with parameters of type Font
    Modifier and Type
    Method
    Description
    (package private) Font
    Font.difference(Font font)
    Replaces the attributes that are equal to null with the attributes of a given font.
    private static final Phrase
    Phrase.getInstance(int leading, 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 this Chunk.
    void
    Phrase.setFont(Font font)
    Sets the main font of this phrase.
    Constructors in com.aowagie.text with parameters of type Font
    Modifier
    Constructor
    Description
     
    Chunk(char c, Font font)
    Constructs a chunk of text with a char and a certain Font.
     
    Chunk(String content, Font font)
    Constructs a chunk of text with a certain content and a certain Font.
     
    Font(Font other)
    Copy constructor of a Font
     
    Paragraph(String string, Font font)
    Constructs a Paragraph with a certain String and a certain Font.
     
    Phrase(float leading, String string, Font font)
    Constructs a Phrase with a certain leading, a certain String and a certain Font.
     
    Phrase(String string, Font font)
    Constructs a Phrase with a certain String and a certain Font.
  • Uses of Font in com.aowagie.text.pdf

    Fields in com.aowagie.text.pdf declared as Font
    Modifier and Type
    Field
    Description
    private Font
    PdfSignatureAppearance.layer2Font
    Holds value of property layer2Font.
    Methods in com.aowagie.text.pdf that return Font
    Modifier and Type
    Method
    Description
    PdfSignatureAppearance.getLayer2Font()
    Gets the n2 and n4 layer font.
    Methods in com.aowagie.text.pdf with parameters of type Font
    Modifier and Type
    Method
    Description
    void
    FontSelector.addFont(Font font)
    Adds a Font to be searched for valid characters.
    protected void
    PdfDocument.addSpacing(float extraspace, float oldleading, Font f)
    Adds extra space.
    private static float
    PdfSignatureAppearance.fitText(Font font, String text, Rectangle rect, float maxFontSize, int runDirection)
    Fits the text to some rectangle adjusting the font size as needed.
    void
    PdfSignatureAppearance.setLayer2Font(Font layer2Font)
    Sets the n2 and n4 layer font.
  • Uses of Font in com.aowagie.text.xml.simpleparser

    Methods in com.aowagie.text.xml.simpleparser with parameters of type Font
    Modifier and Type
    Method
    Description
    static Chunk
    EntitiesToSymbol.get(String e, Font font)
    Gets a chunk with a symbol character.