|
Gnostice PDFOne
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gnostice.pdfone.PdfTextFontInfo
This class represents information related to a font used by a text element.
Field Summary | |
static int |
ENCODING_BUILT_IN
Constant specifying built-in encoding of the font. |
static int |
ENCODING_CUSTOM_ENCODING
Constant specifying encoding where the base encoding is either ENCODING_MACROMANENCODING or ENCODING_WINANSIENCODING
and some differences are specified in a font encoding dictionary. |
static int |
ENCODING_IDENTITY_H
Constant specifying encoding for Type 0 fonts where horizontally rendered glyphs are identical to their character IDs (CIDs). |
static int |
ENCODING_IDENTITY_V
Constant specifying encoding for Type 0 fonts where vertically rendered glyphs are identical to their character IDs (CIDs). |
static int |
ENCODING_MACROMANENCODING
Constant specifying Mac OS standard encoding. |
static int |
ENCODING_STANDARDENCODING
Constant specifying built-in encoding of a Type 1 font. |
static int |
ENCODING_WINANSIENCODING
Constant specifying Windows Code Page 1252 encoding. |
static int |
FONT_TYPE_MULTIPLEMASTER_TYPE1
Constant specifying a multiple master font. |
static int |
FONT_TYPE_TRUETYPE
Constant specifying a TrueType font. |
static int |
FONT_TYPE_TYPE0
Constant specifying a composite font. |
static int |
FONT_TYPE_TYPE1
Constant specifying a Type 1 font. |
static int |
FONT_TYPE_TYPE3
Constant specifying a Type 3 font. |
static int |
FONT_TYPE_UNKNOWN
Constant specifying a unknown font type. |
Method Summary | |
double |
getAscent()
Returns maximum height above the baseline reached by any glyph in this font. |
double |
getDescent()
Returns maximum depth below the baseline reached by any glyph in this font. |
String |
getFontName()
Returns name of the font. |
float |
getFontSize()
Returns size of the font. |
int |
getFontStyle()
Returns style of the font. |
int |
getFontType()
Returns type of font. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int FONT_TYPE_UNKNOWN
public static final int FONT_TYPE_TYPE1
public static final int FONT_TYPE_TRUETYPE
public static final int FONT_TYPE_TYPE3
public static final int FONT_TYPE_TYPE0
public static final int FONT_TYPE_MULTIPLEMASTER_TYPE1
public static final int ENCODING_WINANSIENCODING
public static final int ENCODING_MACROMANENCODING
public static final int ENCODING_STANDARDENCODING
public static final int ENCODING_IDENTITY_H
public static final int ENCODING_IDENTITY_V
public static final int ENCODING_CUSTOM_ENCODING
ENCODING_MACROMANENCODING
or ENCODING_WINANSIENCODING
and some differences are specified in a font encoding dictionary.
public static final int ENCODING_BUILT_IN
Method Detail |
public double getAscent()
public double getDescent()
public String getFontName()
public float getFontSize()
public int getFontStyle()
font style
public int getFontType()
type of font
public String toString()
|
Pro. Ed. v5.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |