public class FontConstants extends Object
FontProgramFactory
and PdfFontFactory.
Modifier and Type | Field and Description |
---|---|
static String |
AFM_RESOURCE_PATH |
static int |
ASCENT
The maximum height above the baseline reached by glyphs in this font, excluding the height of glyphs for accented characters.
|
static int |
AWT_ASCENT
AWT Font property.
|
static int |
AWT_DESCENT
AWT Font property.
|
static int |
AWT_LEADING
AWT Font property.
|
static int |
AWT_MAXADVANCE
AWT Font property.
|
static int |
BBOXLLX
The lower left x glyph coordinate.
|
static int |
BBOXLLY
The lower left y glyph coordinate.
|
static int |
BBOXURX
The upper right x glyph coordinate.
|
static int |
BBOXURY
The upper right y glyph coordinate.
|
static int |
BOLD
Bold font style.
|
static int |
BOLDITALIC
Bold-Italic font style.
|
static int |
CAPHEIGHT
The y coordinate of the top of flat capital letters, measured from the baseline.
|
static int |
CID_FONT_TYPE_0_FONT
CIDFont Type0 (Type1 outlines).
|
static int |
CID_FONT_TYPE_2_FONT
CIDFont Type2 (TrueType outlines).
|
static String |
CMAP_RESOURCE_PATH |
protected static String[] |
CODE_PAGES
The code pages possible for a True Type font.
|
static String |
COURIER
This is a possible value of a base 14 type 1 font
|
static String |
COURIER_BOLD
This is a possible value of a base 14 type 1 font
|
static String |
COURIER_BOLDOBLIQUE
This is a possible value of a base 14 type 1 font
|
static String |
COURIER_OBLIQUE
This is a possible value of a base 14 type 1 font
|
static double[] |
DefaultFontMatrix |
static int |
DESCENT
The maximum depth below the baseline reached by glyphs in this font.
|
static int |
FONT_WEIGHT
The entry of PDF FontDescriptor dictionary.
|
protected static int |
HEAD_LOCA_FORMAT_OFFSET |
static String |
HELVETICA
This is a possible value of a base 14 type 1 font
|
static String |
HELVETICA_BOLD
This is a possible value of a base 14 type 1 font
|
static String |
HELVETICA_BOLDOBLIQUE
This is a possible value of a base 14 type 1 font
|
static String |
HELVETICA_OBLIQUE
This is a possible value of a base 14 type 1 font
|
static int |
ITALIC
Italic font style.
|
static int |
ITALICANGLE
The angle, expressed in degrees counterclockwise from the vertical, of the dominant vertical strokes of the font.
|
static int |
NORMAL
Normal font style.
|
static String |
notdef
A not defined character in a custom PDF encoding.
|
static int |
OPEN_TYPE_FONT
OpenType with Type1 outlines.
|
static String |
RESOURCE_PATH
The path to the font resources.
|
static int |
STRIKETHROUGH_POSITION
The strikethrough position.
|
static int |
STRIKETHROUGH_THICKNESS
The strikethrough thickness.
|
static int |
STRIKETHRU
Deprecated.
|
static int |
SUBSCRIPT_OFFSET
The recommended vertical offset from the baseline for subscripts for this font.
|
static int |
SUBSCRIPT_SIZE
The recommended vertical size for subscripts for this font.
|
static int |
SUPERSCRIPT_OFFSET
The recommended vertical offset from the baseline for superscripts for this font.
|
static int |
SUPERSCRIPT_SIZE
The recommended vertical size for superscripts for this font.
|
static String |
SYMBOL
This is a possible value of a base 14 type 1 font
|
static String |
TIMES |
static String |
TIMES_BOLD
This is a possible value of a base 14 type 1 font
|
static String |
TIMES_BOLDITALIC
This is a possible value of a base 14 type 1 font
|
static String |
TIMES_ITALIC
This is a possible value of a base 14 type 1 font
|
static String |
TIMES_ROMAN
This is a possible value of a base 14 type 1 font
|
static int |
TRUE_TYPE_FONT
TrueType or OpenType with TrueType outlines font.
|
static int |
TYPE_1_COMPACT_FONT
Compact Font Format PostScript font.
|
static int |
TYPE_1_FONT
Type 1 PostScript font.
|
static int |
UNDEFINED
Undefined font style.
|
static int |
UNDERLINE
Deprecated.
|
static int |
UNDERLINE_POSITION
The underline position.
|
static int |
UNDERLINE_THICKNESS
The underline thickness.
|
static int |
WEIGHT_CLASS
The weight class of the font, as defined by the font author.
|
static int |
WIDTH_CLASS
The width class of the font, as defined by the font author.
|
static String |
ZAPFDINGBATS
This is a possible value of a base 14 type 1 font
|
Constructor and Description |
---|
FontConstants() |
public static final String RESOURCE_PATH
public static final String AFM_RESOURCE_PATH
public static final String CMAP_RESOURCE_PATH
public static final int UNDEFINED
public static final int NORMAL
public static final int BOLD
public static final int ITALIC
@Deprecated public static final int UNDERLINE
@Deprecated public static final int STRIKETHRU
public static final int BOLDITALIC
public static final int TYPE_1_FONT
public static final int TYPE_1_COMPACT_FONT
public static final int TRUE_TYPE_FONT
public static final int CID_FONT_TYPE_0_FONT
public static final int CID_FONT_TYPE_2_FONT
public static final int OPEN_TYPE_FONT
public static final String COURIER
public static final String COURIER_BOLD
public static final String COURIER_OBLIQUE
public static final String COURIER_BOLDOBLIQUE
public static final String HELVETICA
public static final String HELVETICA_BOLD
public static final String HELVETICA_OBLIQUE
public static final String HELVETICA_BOLDOBLIQUE
public static final String SYMBOL
public static final String TIMES_ROMAN
public static final String TIMES_BOLD
public static final String TIMES_ITALIC
public static final String TIMES_BOLDITALIC
public static final String ZAPFDINGBATS
public static final String TIMES
public static final int ASCENT
public static final int CAPHEIGHT
public static final int DESCENT
public static final int ITALICANGLE
public static final int BBOXLLX
public static final int BBOXLLY
public static final int BBOXURX
public static final int BBOXURY
public static final int AWT_ASCENT
public static final int AWT_DESCENT
public static final int AWT_LEADING
public static final int AWT_MAXADVANCE
public static final int UNDERLINE_POSITION
public static final int UNDERLINE_THICKNESS
public static final int STRIKETHROUGH_POSITION
public static final int STRIKETHROUGH_THICKNESS
public static final int SUBSCRIPT_SIZE
public static final int SUBSCRIPT_OFFSET
public static final int SUPERSCRIPT_SIZE
public static final int SUPERSCRIPT_OFFSET
public static final int WEIGHT_CLASS
public static final int WIDTH_CLASS
public static final int FONT_WEIGHT
public static final String notdef
public static final double[] DefaultFontMatrix
protected static final int HEAD_LOCA_FORMAT_OFFSET
protected static final String[] CODE_PAGES
Copyright © 1998–2018 iText Group NV. All rights reserved.