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

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

Introduction

In this page you can find the methods, fields and constructors for com.lowagie.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
StringZAPFDINGBATS
This is a possible value of a base 14 type 1 font
intDESCENT
The maximum depth below the baseline reached by glyphs in this font.
intITALICANGLE
The angle, expressed in degrees counterclockwise from the vertical, of the dominant vertical strokes of the font.
intBBOXLLY
The lower left y glyph coordinate.
intBBOXURY
The upper right y glyph coordinate.
intAWT_ASCENT
java.awt.Font property
intAWT_DESCENT
java.awt.Font property
intAWT_LEADING
java.awt.Font property
intAWT_MAXADVANCE
java.awt.Font property
intUNDERLINE_POSITION
The underline position.
intUNDERLINE_THICKNESS
The underline thickness.
intSTRIKETHROUGH_POSITION
The strikethrough position.
intSTRIKETHROUGH_THICKNESS
The strikethrough thickness.
intFONT_TYPE_T1
The font is Type 1.
intFONT_TYPE_TT
The font is True Type with a standard encoding.
intFONT_TYPE_TTUNI
The font is True Type with a Unicode encoding.
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
booleanCACHED
if the font has to be cached
StringRESOURCE_PATH
The path to the font resources.

Method

booleancharExists(int c)
Checks if a character exists in this font.
BaseFontcreateFont(String name, String encoding, boolean embedded)
Creates a new font.
BaseFontcreateFont(String name, String encoding, boolean embedded, boolean cached, byte ttfAfm[], byte pfb[])
Creates a new font.
BaseFontcreateFont(String name, String encoding, boolean embedded, boolean cached, byte ttfAfm[], byte pfb[], boolean noThrow)
Creates a new font.
BaseFontcreateFont()
Creates a new 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.
floatgetDescentPoint(String text, float fontSize)
Gets the descent of a String in points.
String[][]getFamilyFontName()
Gets the family name of the font.
floatgetFontDescriptor(int key, float fontSize)
Gets the font parameter identified by key.
intgetFontType()
Gets the font type.
String[][]getFullFontName()
Gets the full name of the font.
StringgetPostscriptFontName()
Gets the postscript font name.
InputStreamgetResourceStream(String key)
Gets the font resources.
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.
voidsetCompressionLevel(int compressionLevel)
Sets the compression level to be used for the font streams.