Java com.itextpdf.text.pdf BaseFont fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text.pdf BaseFont fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text.pdf BaseFont.

The text is from its open source code.

Field

StringCOURIER
This is a possible value of a base 14 type 1 font
StringCOURIER_BOLD
This is a possible value of a base 14 type 1 font
StringCOURIER_OBLIQUE
This is a possible value of a base 14 type 1 font
StringCOURIER_BOLDOBLIQUE
This is a possible value of a base 14 type 1 font
StringHELVETICA
This is a possible value of a base 14 type 1 font
StringHELVETICA_BOLD
This is a possible value of a base 14 type 1 font
StringHELVETICA_OBLIQUE
This is a possible value of a base 14 type 1 font
StringHELVETICA_BOLDOBLIQUE
This is a possible value of a base 14 type 1 font
StringSYMBOL
This is a possible value of a base 14 type 1 font
StringTIMES_ROMAN
This is a possible value of a base 14 type 1 font
StringTIMES_BOLD
This is a possible value of a base 14 type 1 font
StringTIMES_ITALIC
This is a possible value of a base 14 type 1 font
StringTIMES_BOLDITALIC
This is a possible value of a base 14 type 1 font
intASCENT
The maximum height above the baseline reached by glyphs in this font, excluding the height of glyphs for accented characters.
intDESCENT
The maximum depth below the baseline reached by glyphs in this font.
StringIDENTITY_H
The Unicode encoding with horizontal writing.
StringIDENTITY_V
The Unicode encoding with vertical writing.
StringCP1250
A possible encoding.
StringCP1252
A possible encoding.
StringCP1257
A possible encoding.
StringWINANSI
A possible encoding.
booleanEMBEDDED
if the font has to be embedded
booleanNOT_EMBEDDED
if the font doesn't have to be embedded

Method

booleancharExists(int c)
Checks if a character exists in this font.
BaseFontcreateFont(String name, String encoding, boolean embedded)
Creates a new font.
BaseFontcreateFont()
Creates a new font.
BaseFontcreateFont(String name, String encoding, boolean embedded, boolean forceRead)
Creates a new font.
BaseFontcreateFont(String name, String encoding, boolean embedded, boolean cached, byte ttfAfm[], byte pfb[])
Creates a new font.
BaseFontcreateFont(PRIndirectReference fontRef)
Creates a font based on an existing document font.
String[]enumerateTTCNames(String ttcFile)
Enumerates the postscript font names present inside a True Type Collection.
String[]enumerateTTCNames(byte ttcArray[])
Enumerates the postscript font names present inside a True Type Collection.
Object[]getAllFontNames(String name, String encoding, byte ttfAfm[])
Gets all the names from the font.
floatgetAscentPoint(String text, float fontSize)
Gets the ascent of a String in points.
String[]getCodePagesSupported()
Gets the code pages supported by the font.
floatgetDescentPoint(String text, float fontSize)
Gets the descent of a String in points.
floatgetFontDescriptor(int key, float fontSize)
Gets the font parameter identified by key.
String[][]getFullFontName()
Gets the full name of the font.
StringgetPostscriptFontName()
Gets the postscript font name.
intgetWidth(int char1)
Gets the width of a char in normalized 1000 units.
intgetWidth(String text)
Gets the width of a String in normalized 1000 units.
floatgetWidthPoint(String text, float fontSize)
Gets the width of a String in points.
floatgetWidthPoint(int char1, float fontSize)
Gets the width of a char in points.
floatgetWidthPointKerned(String text, float fontSize)
Gets the width of a String in points taking kerning into account.
voidsetPostscriptFontName(String name)
Sets the font name that will appear in the pdf font dictionary.