Uses of Class
com.aowagie.text.pdf.BaseFont
-
Packages that use BaseFont Package Description com.aowagie.text com.aowagie.text.pdf com.aowagie.text.pdf.codec.wmf com.aowagie.text.xml -
-
Uses of BaseFont in com.aowagie.text
Fields in com.aowagie.text declared as BaseFont Modifier and Type Field Description private BaseFont
Font. baseFont
the external fontMethods in com.aowagie.text that return BaseFont Modifier and Type Method Description BaseFont
Font. getBaseFont()
Gets theBaseFont
inside this object.BaseFont
Font. getCalculatedBaseFont(boolean specialEncoding)
Gets theBaseFont
this class represents.Constructors in com.aowagie.text with parameters of type BaseFont Constructor Description Font(BaseFont bf)
Constructs a Font.Font(BaseFont bf, float size, int style, java.awt.Color color)
Constructs a Font. -
Uses of BaseFont in com.aowagie.text.pdf
Subclasses of BaseFont in com.aowagie.text.pdf Modifier and Type Class Description (package private) class
CJKFont
Creates a CJK font compatible with the fonts in the Adobe Asian font Pack.class
CMapAwareDocumentFont
Implementation of DocumentFont used while parsing PDF streams.class
DocumentFont
(package private) class
EnumerateTTC
Enumerates all the fonts inside a True Type Collection.(package private) class
TrueTypeFont
Reads a Truetype font(package private) class
TrueTypeFontUnicode
Represents a True Type font with Unicode encoding.(package private) class
Type1Font
Reads a Type1 fontFields in com.aowagie.text.pdf declared as BaseFont Modifier and Type Field Description private BaseFont
FontDetails. baseFont
The fontprivate BaseFont
PdfChunk. baseFont
private BaseFont
DocumentFont. cjkMirror
private BaseFont
TextField. extensionFont
Holds value of property extensionFont.protected BaseFont
Barcode. font
The text font.private BaseFont
BaseField. font
private BaseFont
PdfFont. font
the font metrics.Methods in com.aowagie.text.pdf that return BaseFont Modifier and Type Method Description BaseFont
DefaultFontMapper. awtToPdf(java.awt.Font font)
Returns a BaseFont which can be used to represent the given AWT FontBaseFont
FontMapper. awtToPdf(java.awt.Font font)
Returns a BaseFont which can be used to represent the given AWT Fontstatic BaseFont
BaseFont. createFont()
Creates a new font.static BaseFont
BaseFont. createFont(PRIndirectReference fontRef)
Creates a font based on an existing document font.static BaseFont
BaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded)
Creates a new font.static BaseFont
BaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded, boolean forceRead)
Creates a new font.static BaseFont
BaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb)
Creates a new font.static BaseFont
BaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow)
Creates a new font.static BaseFont
BaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow, boolean forceRead)
Creates a new font.(package private) BaseFont
FontDetails. getBaseFont()
Gets theBaseFont
of this font.BaseFont
TextField. getExtensionFont()
Gets the extensionFont.BaseFont
Barcode. getFont()
Gets the text font.BaseFont
BaseField. getFont()
Gets the text font.(package private) BaseFont
PdfFont. getFont()
protected BaseFont
BaseField. getRealFont()
Methods in com.aowagie.text.pdf with parameters of type BaseFont Modifier and Type Method Description (package private) FontDetails
PdfWriter. addSimple(BaseFont bf)
Adds aBaseFont
to the document but not to the page resources.void
AcroFields. addSubstitutionFont(BaseFont font)
Adds a substitution font to the list.private Phrase
TextField. composePhrase(java.lang.String text, BaseFont ufont, java.awt.Color color, float fontSize)
private void
PdfAcroForm. drawButton(PdfFormField button, java.lang.String caption, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
(package private) void
PdfContentByte. drawButton(float llx, float lly, float urx, float ury, java.lang.String text, BaseFont bf, float size)
Draws a button.private void
PdfAcroForm. drawMultiLineOfText(PdfFormField field, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
private void
PdfAcroForm. drawSingleLineOfText(PdfFormField field, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
java.lang.String
HyphenationEvent. getHyphenatedWordPre(java.lang.String word, BaseFont font, float fontSize, float remainingWidth)
Hyphenates a word and returns the first part of it.private static PdfTextArray
PdfContentByte. getKernArray(java.lang.String text, BaseFont font)
Constructs a kern array for a text in a certain fontvoid
TextField. setExtensionFont(BaseFont extensionFont)
Sets the extensionFont.void
Barcode. setFont(BaseFont font)
Sets the text font.void
BaseField. setFont(BaseFont font)
Sets the text font.void
PdfAppearance. setFontAndSize(BaseFont bf, float size)
Set the font and the size for the subsequent text writing.void
PdfContentByte. setFontAndSize(BaseFont bf, float size)
Set the font and the size for the subsequent text writing.void
PdfImportedPage. setFontAndSize(BaseFont bf, float size)
Always throws an error.Constructors in com.aowagie.text.pdf with parameters of type BaseFont Constructor Description FontDetails(PdfName fontName, PdfIndirectReference indirectReference, BaseFont baseFont)
Each font used in a document has an instance of this class.PdfFont(BaseFont bf, float size)
-
Uses of BaseFont in com.aowagie.text.pdf.codec.wmf
Fields in com.aowagie.text.pdf.codec.wmf declared as BaseFont Modifier and Type Field Description private BaseFont
MetaFont. font
Methods in com.aowagie.text.pdf.codec.wmf that return BaseFont Modifier and Type Method Description BaseFont
MetaFont. getFont()
-
Uses of BaseFont in com.aowagie.text.xml
Fields in com.aowagie.text.xml declared as BaseFont Modifier and Type Field Description private BaseFont
SAXiTextHandler. bf
Methods in com.aowagie.text.xml with parameters of type BaseFont Modifier and Type Method Description void
SAXiTextHandler. setBaseFont(BaseFont bf)
Sets the font that has to be used.
-