Uses of Class
com.itextpdf.text.pdf.BaseFont
-
Packages that use BaseFont Package Description com.itextpdf.awt com.itextpdf.text com.itextpdf.text.pdf com.itextpdf.text.pdf.codec.wmf -
-
Uses of BaseFont in com.itextpdf.awt
Fields in com.itextpdf.awt declared as BaseFont Modifier and Type Field Description protected BaseFontPdfGraphics2D. baseFontFields in com.itextpdf.awt with type parameters of type BaseFont Modifier and Type Field Description protected java.util.HashMap<java.lang.String,BaseFont>PdfGraphics2D. baseFontsStorage for BaseFont objects created.Methods in com.itextpdf.awt that return BaseFont Modifier and Type Method Description BaseFontAsianFontMapper. awtToPdf(java.awt.Font font)BaseFontDefaultFontMapper. awtToPdf(java.awt.Font font)Returns a BaseFont which can be used to represent the given AWT FontBaseFontFontMapper. awtToPdf(java.awt.Font font)Returns a BaseFont which can be used to represent the given AWT Fontprivate BaseFontPdfGraphics2D. getCachedBaseFont(java.awt.Font f)Methods in com.itextpdf.awt with parameters of type BaseFont Modifier and Type Method Description java.awt.FontDefaultFontMapper. pdfToAwt(BaseFont font, int size)Returns an AWT Font which can be used to represent the given BaseFontjava.awt.FontFontMapper. pdfToAwt(BaseFont font, int size)Returns an AWT Font which can be used to represent the given BaseFont -
Uses of BaseFont in com.itextpdf.text
Fields in com.itextpdf.text declared as BaseFont Modifier and Type Field Description private BaseFontFont. baseFontthe external fontMethods in com.itextpdf.text that return BaseFont Modifier and Type Method Description BaseFontFont. getBaseFont()Gets theBaseFontinside this object.protected BaseFontFontFactoryImp. getBaseFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, boolean cached)BaseFontFont. getCalculatedBaseFont(boolean specialEncoding)Gets theBaseFontthis class represents.Constructors in com.itextpdf.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, BaseColor color)Constructs a Font. -
Uses of BaseFont in com.itextpdf.text.pdf
Subclasses of BaseFont in com.itextpdf.text.pdf Modifier and Type Class Description (package private) classCJKFontCreates a CJK font compatible with the fonts in the Adobe Asian font Pack.classCMapAwareDocumentFontImplementation of DocumentFont used while parsing PDF streams.classDocumentFont(package private) classEnumerateTTCEnumerates all the fonts inside a True Type Collection.(package private) classTrueTypeFontReads a Truetype font(package private) classTrueTypeFontUnicodeRepresents a True Type font with Unicode encoding.(package private) classType1FontReads a Type1 fontclassType3FontA class to support Type3 fonts.Fields in com.itextpdf.text.pdf declared as BaseFont Modifier and Type Field Description (package private) BaseFontFontDetails. baseFontThe fontprotected BaseFontPdfChunk. baseFontprivate BaseFontDocumentFont. cjkMirrorprivate BaseFontTextField. extensionFontHolds value of property extensionFont.protected BaseFontBarcode. fontThe text font.protected BaseFontBaseField. fontprivate BaseFontPdfFont. fontthe font metrics.Fields in com.itextpdf.text.pdf with type parameters of type BaseFont Modifier and Type Field Description protected java.util.LinkedHashMap<BaseFont,FontDetails>PdfWriter. documentFontsThe fonts of this documentprivate java.util.HashMap<java.lang.Integer,BaseFont>AcroFields. extensionFontsprotected static java.util.concurrent.ConcurrentHashMap<java.lang.String,BaseFont>BaseFont. fontCachecache for the fonts already used.private java.util.HashMap<java.lang.String,BaseFont>AcroFields. localFontsprivate java.util.ArrayList<BaseFont>AcroFields. substitutionFontsprivate java.util.ArrayList<BaseFont>TextField. substitutionFontsHolds value of property substitutionFonts.Methods in com.itextpdf.text.pdf that return BaseFont Modifier and Type Method Description static BaseFontBaseFont. createFont()Creates a new font.static BaseFontBaseFont. createFont(PRIndirectReference fontRef)Creates a font based on an existing document font.static BaseFontBaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded)Creates a new font.static BaseFontBaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded, boolean forceRead)Creates a new font.static BaseFontBaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb)Creates a new font.static BaseFontBaseFont. createFont(java.lang.String name, java.lang.String encoding, boolean embedded, boolean cached, byte[] ttfAfm, byte[] pfb, boolean noThrow)Creates a new font.static BaseFontBaseFont. 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) BaseFontFontDetails. getBaseFont()Gets theBaseFontof this font.BaseFontTextField. getExtensionFont()Gets the extensionFont.BaseFontBarcode. getFont()Gets the text font.BaseFontBaseField. getFont()Gets the text font.(package private) BaseFontPdfFont. getFont()protected BaseFontBaseField. getRealFont()protected BaseFontPdfARadioCheckField. getRealFont()Methods in com.itextpdf.text.pdf that return types with arguments of type BaseFont Modifier and Type Method Description java.util.ArrayList<BaseFont>AcroFields. getSubstitutionFonts()Gets the list of substitution fonts.java.util.ArrayList<BaseFont>TextField. getSubstitutionFonts()Gets the list of substitution fonts.Methods in com.itextpdf.text.pdf with parameters of type BaseFont Modifier and Type Method Description PdfFormFieldPdfAcroForm. 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)PdfFormFieldPdfAcroForm. 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)PdfFormFieldPdfAcroForm. 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)PdfFormFieldPdfAcroForm. addMultiLineTextField(java.lang.String name, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)PdfFormFieldPdfAcroForm. 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)PdfFormFieldPdfAcroForm. 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)PdfFormFieldPdfAcroForm. 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) FontDetailsPdfWriter. addSimple(BaseFont bf)Adds aBaseFontto the document but not to the page resources.PdfFormFieldPdfAcroForm. addSingleLinePasswordField(java.lang.String name, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)PdfFormFieldPdfAcroForm. addSingleLineTextField(java.lang.String name, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)voidAcroFields. addSubstitutionFont(BaseFont font)Adds a substitution font to the list.protected static java.util.ArrayList<java.lang.String>BaseField. breakLines(java.util.ArrayList<java.lang.String> breaks, BaseFont font, float fontSize, float width)private PhraseTextField. composePhrase(java.lang.String text, BaseFont ufont, BaseColor color, float fontSize)voidPdfAcroForm. drawButton(PdfFormField button, java.lang.String caption, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)voidPdfContentByte. drawButton(double llx, double lly, double urx, double ury, java.lang.String text, BaseFont bf, float size)Draws a button.voidPdfContentByte. drawButton(float llx, float lly, float urx, float ury, java.lang.String text, BaseFont bf, float size)Draws a button.voidPdfAcroForm. drawMultiLineOfText(PdfFormField field, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)voidPdfAcroForm. drawSingleLineOfText(PdfFormField field, java.lang.String text, BaseFont font, float fontSize, float llx, float lly, float urx, float ury)java.lang.StringHyphenationAuto. getHyphenatedWordPre(java.lang.String word, BaseFont font, float fontSize, float remainingWidth)Hyphenates a word and returns the first part of it.java.lang.StringHyphenationEvent. getHyphenatedWordPre(java.lang.String word, BaseFont font, float fontSize, float remainingWidth)Hyphenates a word and returns the first part of it.static PdfTextArrayPdfContentByte. getKernArray(java.lang.String text, BaseFont font)Constructs a kern array for a text in a certain fontvoidTextField. setExtensionFont(BaseFont extensionFont)Sets the extensionFont.voidBarcode. setFont(BaseFont font)Sets the text font.voidBaseField. setFont(BaseFont font)Sets the text font.voidPdfAppearance. setFontAndSize(BaseFont bf, float size)Set the font and the size for the subsequent text writing.voidPdfContentByte. setFontAndSize(BaseFont bf, float size)Set the font and the size for the subsequent text writing.voidPdfImportedPage. setFontAndSize(BaseFont bf, float size)Always throws an error.Method parameters in com.itextpdf.text.pdf with type arguments of type BaseFont Modifier and Type Method Description voidAcroFields. setSubstitutionFonts(java.util.ArrayList<BaseFont> substitutionFonts)Sets a list of substitution fonts.voidTextField. setSubstitutionFonts(java.util.ArrayList<BaseFont> substitutionFonts)Sets a list of substitution fonts.Constructors in com.itextpdf.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.itextpdf.text.pdf.codec.wmf
Fields in com.itextpdf.text.pdf.codec.wmf declared as BaseFont Modifier and Type Field Description (package private) BaseFontMetaFont. fontMethods in com.itextpdf.text.pdf.codec.wmf that return BaseFont Modifier and Type Method Description BaseFontMetaFont. getFont()
-