Uses of Class
com.lowagie.text.pdf.BaseFont
-
Packages that use BaseFont Package Description com.lowagie.text com.lowagie.text.html com.lowagie.text.pdf com.lowagie.text.pdf.codec.wmf com.lowagie.text.xml -
-
Uses of BaseFont in com.lowagie.text
Fields in com.lowagie.text declared as BaseFont Modifier and Type Field Description private BaseFont
Font. baseFont
the external fontMethods in com.lowagie.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.lowagie.text with parameters of type BaseFont Constructor Description Font(BaseFont bf)
Constructs a Font.Font(BaseFont bf, float size)
Constructs a Font.Font(BaseFont bf, float size, int style)
Constructs a Font.Font(BaseFont bf, float size, int style, java.awt.Color color)
Constructs a Font. -
Uses of BaseFont in com.lowagie.text.html
Constructors in com.lowagie.text.html with parameters of type BaseFont Constructor Description SAXmyHtmlHandler(DocListener document, HtmlTagMap htmlTags, BaseFont bf)
SAXmyHtmlHandler(DocListener document, BaseFont bf)
Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on theDocument
-object. -
Uses of BaseFont in com.lowagie.text.pdf
Subclasses of BaseFont in com.lowagie.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 fontclass
Type3Font
A class to support Type3 fonts.Fields in com.lowagie.text.pdf declared as BaseFont Modifier and Type Field Description (package private) BaseFont
FontDetails. baseFont
The fontprotected BaseFont
PdfChunk. baseFont
private BaseFont
PdfGraphics2D. baseFont
private BaseFont
DocumentFont. cjkMirror
private BaseFont
TextField. extensionFont
Holds value of property extensionFont.protected BaseFont
Barcode. font
The text font.protected BaseFont
BaseField. font
private BaseFont
PdfFont. font
the font metrics.Fields in com.lowagie.text.pdf with type parameters of type BaseFont Modifier and Type Field Description private static java.util.Map<BaseFont,java.awt.Font>
LayoutProcessor. awtFontMap
private java.util.Map<java.lang.String,BaseFont>
PdfGraphics2D. baseFonts
Storage for BaseFont objects created.private java.util.List<BaseFont>
PdfGraphics2D.CompositeFontDrawer. correspondingBaseFontsForParts
Base fonts
that corresponds to the splitted part of the stringprotected java.util.LinkedHashMap<BaseFont,FontDetails>
PdfWriter. documentFonts
The fonts of this documentprivate java.util.Map<java.lang.Integer,BaseFont>
AcroFields. extensionFonts
protected static java.util.concurrent.ConcurrentHashMap<java.lang.String,BaseFont>
BaseFont. fontCache
cache for the fonts already used.private java.util.Map<java.lang.String,BaseFont>
AcroFields. localFonts
private java.util.List<BaseFont>
AcroFields. substitutionFonts
private java.util.List<BaseFont>
TextField. substitutionFonts
Holds value of property substitutionFonts.Methods in com.lowagie.text.pdf that return BaseFont Modifier and Type Method Description BaseFont
AsianFontMapper. awtToPdf(java.awt.Font font)
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.private BaseFont
PdfGraphics2D. getCachedBaseFont(java.awt.Font f)
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.lowagie.text.pdf that return types with arguments of type BaseFont Modifier and Type Method Description java.util.List<BaseFont>
AcroFields. getAllSubstitutionFonts()
Gets the list of substitution fonts.java.util.List<BaseFont>
TextField. getSubstitutionFontList()
Gets the list of substitution fonts.Methods in com.lowagie.text.pdf with parameters of type BaseFont Modifier and Type Method Description PdfFormField
PdfAcroForm. addComboBox(java.lang.String name, java.lang.String[][] options, java.lang.String defaultValue, boolean editable, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
PdfFormField
PdfAcroForm. addComboBox(java.lang.String name, java.lang.String[] options, java.lang.String defaultValue, boolean editable, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
PdfFormField
PdfAcroForm. addHtmlPostButton(java.lang.String name, java.lang.String caption, java.lang.String value, java.lang.String url, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
PdfFormField
PdfAcroForm. addMultiLineTextField(java.lang.String name, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
PdfFormField
PdfAcroForm. addResetButton(java.lang.String name, java.lang.String caption, java.lang.String value, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
PdfFormField
PdfAcroForm. addSelectList(java.lang.String name, java.lang.String[][] options, java.lang.String defaultValue, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
PdfFormField
PdfAcroForm. addSelectList(java.lang.String name, java.lang.String[] options, java.lang.String defaultValue, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
(package private) FontDetails
PdfWriter. addSimple(BaseFont bf)
Adds aBaseFont
to the document but not to the page resources.PdfFormField
PdfAcroForm. addSingleLinePasswordField(java.lang.String name, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
PdfFormField
PdfAcroForm. addSingleLineTextField(java.lang.String name, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
void
AcroFields. addSubstitutionFont(BaseFont font)
Adds a substitution font to the list.protected static java.util.List<java.lang.String>
BaseField. breakLines(java.util.List<java.lang.String> breaks, BaseFont font, float fontSize, float width)
private Phrase
TextField. composePhrase(java.lang.String text, BaseFont ufont, java.awt.Color color, float fontSize)
static java.awt.font.GlyphVector
LayoutProcessor. computeGlyphVector(BaseFont baseFont, float fontSize, java.lang.String text)
Computes glyph positioningstatic byte[]
FopGlyphProcessor. convertToBytesWithGlyphs(BaseFont font, java.lang.String text, java.lang.String fileName, java.util.Map<java.lang.Integer,int[]> longTag, java.lang.String language)
void
PdfAcroForm. drawButton(PdfFormField button, java.lang.String caption, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
void
PdfContentByte. drawButton(float llx, float lly, float urx, float ury, java.lang.String text, BaseFont bf, float size)
Draws a button.void
PdfAcroForm. drawMultiLineOfText(PdfFormField field, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
void
PdfAcroForm. drawSingleLineOfText(PdfFormField field, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)
double
PdfGraphics2D.CompositeFontDrawer.DrawStringFunction. drawString(java.lang.String s, BaseFont basicFont, double x, double y)
private double
PdfGraphics2D. drawString(java.lang.String s, BaseFont baseFont, double x, double y)
static PdfAppearance
RadioCheckField. getAppearance(boolean on, PdfWriter writer, int checkType, int rotation, int borderStyle, Rectangle box, float borderWidth, float fontSize, java.lang.String text, java.awt.Color textColor, java.awt.Color backgroundColor, java.awt.Color borderColor, BaseFont ufont)
Gets the field appearance.java.lang.String
HyphenationAuto. getHyphenatedWordPre(java.lang.String word, BaseFont font, float fontSize, float remainingWidth)
Hyphenates a word and returns the first part of it.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.static PdfTextArray
PdfContentByte. getKernArray(java.lang.String text, BaseFont font)
Constructs a kern array for a text in a certain fontstatic void
LayoutProcessor. loadFont(BaseFont baseFont, java.lang.String filename)
Loads the AWT font needed for layoutjava.awt.Font
DefaultFontMapper. pdfToAwt(BaseFont font, int size)
Returns an AWT Font which can be used to represent the given BaseFontjava.awt.Font
FontMapper. pdfToAwt(BaseFont font, int size)
Returns an AWT Font which can be used to represent the given BaseFontvoid
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.static java.awt.geom.Point2D
LayoutProcessor. showText(PdfContentByte cb, BaseFont baseFont, float fontSize, java.lang.String text)
Shows a text using glyph positioning (if needed)static boolean
LayoutProcessor. supportsFont(BaseFont baseFont)
Method parameters in com.lowagie.text.pdf with type arguments of type BaseFont Modifier and Type Method Description (package private) double
PdfGraphics2D.CompositeFontDrawer. drawString(java.lang.String s, java.awt.Font compositeFont, double x, double y, java.util.function.Function<java.awt.Font,BaseFont> fontConverter, PdfGraphics2D.CompositeFontDrawer.DrawStringFunction defaultDrawingFunction)
Draw text with the given font at the specified position.void
AcroFields. setAllSubstitutionFonts(java.util.List<BaseFont> substitutionFonts)
Sets a list of substitution fonts.void
TextField. setSubstitutionFontList(java.util.List<BaseFont> substitutionFonts)
Sets a list of substitution fonts.private void
PdfGraphics2D.CompositeFontDrawer. splitStringIntoDisplayableParts(java.lang.String s, java.awt.Font compositeFont, java.util.function.Function<java.awt.Font,BaseFont> fontConverter)
Split string into visible and not visible parts.Constructors in com.lowagie.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.lowagie.text.pdf.codec.wmf
Fields in com.lowagie.text.pdf.codec.wmf declared as BaseFont Modifier and Type Field Description (package private) BaseFont
MetaFont. font
Methods in com.lowagie.text.pdf.codec.wmf that return BaseFont Modifier and Type Method Description BaseFont
MetaFont. getFont()
-
Uses of BaseFont in com.lowagie.text.xml
Fields in com.lowagie.text.xml declared as BaseFont Modifier and Type Field Description private BaseFont
SAXiTextHandler. bf
Methods in com.lowagie.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.Constructors in com.lowagie.text.xml with parameters of type BaseFont Constructor Description SAXiTextHandler(DocListener document, java.util.Map<java.lang.String,T> myTags, BaseFont bf)
-