public class PdfFont extends Object
Encapsulates font info.
Modifier and Type | Field and Description |
---|---|
int |
Ascender
AFM key: Ascender
|
int |
CapHeight
AFM key: CapHeight
|
int |
Descender
AFM key: Descender
|
String |
EncodingScheme
AFM key: EncodingScheme or CMap .
|
FontInfo |
FontDetails |
int |
IsFixedPitch
AFM key: IsFixedPitch
|
boolean |
IsUnicode |
boolean |
IsUsedOnCurrentPage
this font is in use on current page
|
float |
ItalicAngle
AFM key: ItalicAngle.
|
float |
LowerLeftX
AFM key: FontBBox
|
float |
LowerLeftY
AFM key: FontBBox
|
String |
Name
PostScript or TrueType name
|
int |
ObjID
object id of this font
|
int |
StdHW
AFM key: StdHW
|
int |
StdVW
AFM key: StdVW
|
String |
TrueTypeName
names[6] in the TT name table .
|
int |
Type |
int |
UnderlinePosition
AFM key: UnderlinePosition
|
int |
UnderlineThickness
AFM key: UnderlineThickness
|
float |
UperRightX
AFM key: FontBBox
|
float |
UperRightY
AFM key: FontBBox
|
int[] |
Widths
From AFM char metrics and encoding
|
int |
XHeight
AFM key: XHeight
|
Constructor and Description |
---|
PdfFont() |
public String Name
PostScript or TrueType name
public boolean IsUnicode
public boolean IsUsedOnCurrentPage
this font is in use on current page
public int ObjID
object id of this font
public int Type
public String TrueTypeName
names[6] in the TT name table .
public String EncodingScheme
AFM key: EncodingScheme or CMap .
public float ItalicAngle
AFM key: ItalicAngle.
public int IsFixedPitch
AFM key: IsFixedPitch
public float LowerLeftX
AFM key: FontBBox
public float LowerLeftY
AFM key: FontBBox
public float UperRightX
AFM key: FontBBox
public float UperRightY
AFM key: FontBBox
public int UnderlinePosition
AFM key: UnderlinePosition
public int UnderlineThickness
AFM key: UnderlineThickness
public int CapHeight
AFM key: CapHeight
public int XHeight
AFM key: XHeight
public int Ascender
AFM key: Ascender
public int Descender
AFM key: Descender
public int StdVW
AFM key: StdVW
public int StdHW
AFM key: StdHW
public int[] Widths
From AFM char metrics and encoding
public FontInfo FontDetails
Copyright © 2016 Aspose. All Rights Reserved.