Example usage for Java com.lowagie.text.pdf BaseFont fields, constructors, methods, implement or subclass
The text is from its open source code.
String | COURIER This is a possible value of a base 14 type 1 font |
String | COURIER_BOLD This is a possible value of a base 14 type 1 font |
String | COURIER_OBLIQUE This is a possible value of a base 14 type 1 font |
String | COURIER_BOLDOBLIQUE This is a possible value of a base 14 type 1 font |
String | HELVETICA This is a possible value of a base 14 type 1 font |
String | HELVETICA_BOLD This is a possible value of a base 14 type 1 font |
String | HELVETICA_OBLIQUE This is a possible value of a base 14 type 1 font |
String | HELVETICA_BOLDOBLIQUE This is a possible value of a base 14 type 1 font |
String | SYMBOL This is a possible value of a base 14 type 1 font |
String | TIMES_ROMAN This is a possible value of a base 14 type 1 font |
String | TIMES_BOLD This is a possible value of a base 14 type 1 font |
String | TIMES_ITALIC This is a possible value of a base 14 type 1 font |
String | TIMES_BOLDITALIC This is a possible value of a base 14 type 1 font |
String | ZAPFDINGBATS This is a possible value of a base 14 type 1 font |
int | DESCENT The maximum depth below the baseline reached by glyphs in this font. |
int | ITALICANGLE The angle, expressed in degrees counterclockwise from the vertical, of the dominant vertical strokes of the font. |
int | BBOXLLY The lower left y glyph coordinate. |
int | BBOXURY The upper right y glyph coordinate. |
int | AWT_ASCENT java.awt.Font property |
int | AWT_DESCENT java.awt.Font property |
int | AWT_LEADING java.awt.Font property |
int | AWT_MAXADVANCE java.awt.Font property |
int | UNDERLINE_POSITION The underline position. |
int | UNDERLINE_THICKNESS The underline thickness. |
int | STRIKETHROUGH_POSITION The strikethrough position. |
int | STRIKETHROUGH_THICKNESS The strikethrough thickness. |
int | FONT_TYPE_T1 The font is Type 1. |
int | FONT_TYPE_TT The font is True Type with a standard encoding. |
int | FONT_TYPE_TTUNI The font is True Type with a Unicode encoding. |
String | IDENTITY_H The Unicode encoding with horizontal writing. |
String | IDENTITY_V The Unicode encoding with vertical writing. |
String | CP1250 A possible encoding. |
String | CP1252 A possible encoding. |
String | CP1257 A possible encoding. |
String | WINANSI A possible encoding. |
boolean | EMBEDDED if the font has to be embedded |
boolean | NOT_EMBEDDED if the font doesn't have to be embedded |
boolean | CACHED if the font has to be cached |
String | RESOURCE_PATH The path to the font resources. |
boolean | charExists(int c) Checks if a character exists in this font. |
BaseFont | createFont(String name, String encoding, boolean embedded) Creates a new font. |
BaseFont | createFont(String name, String encoding, boolean embedded, boolean cached, byte ttfAfm[], byte pfb[]) Creates a new font. |
BaseFont | createFont(String name, String encoding, boolean embedded, boolean cached, byte ttfAfm[], byte pfb[], boolean noThrow) Creates a new font. |
BaseFont | createFont() 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. |
float | getAscentPoint(String text, float fontSize) Gets the ascent of a String in points. |
float | getDescentPoint(String text, float fontSize) Gets the descent of a String in points. |
String[][] | getFamilyFontName() Gets the family name of the font. |
float | getFontDescriptor(int key, float fontSize) Gets the font parameter identified by key . |
int | getFontType() Gets the font type. |
String[][] | getFullFontName() Gets the full name of the font. |
String | getPostscriptFontName() Gets the postscript font name. |
InputStream | getResourceStream(String key) Gets the font resources. |
float | getWidthPoint(String text, float fontSize) Gets the width of a String in points. |
float | getWidthPoint(int char1, float fontSize) Gets the width of a char in points. |
void | setCompressionLevel(int compressionLevel) Sets the compression level to be used for the font streams. |