PDFFontMetrics¶
Namespace: O2S.Components.PDF4NET.Graphics
Provides the metrics for a font object.
Inheritance Object → PDFFontMetrics
Remarks
The font metrics are provided in unscaled glyph units.
Properties¶
Ascent¶
Gets the ascent of the font.
Property Value
Double
A double value specifying the maximum height above the baseline
reached by glyphs in this font, excluding the height of glyphs for
accented characters.
AverageWidth¶
Gets the average width of glyphs in the font.
Property Value
Double
A double value specifying the average width of glyphs in the font.
BoundingBox¶
Gets the font's bounding box.
Property Value
PDFStandardRectangle
The font bounding box.
CapHeight¶
Gets the capHeight of the font.
Property Value
Double
A double value specifying the vertical coordinate of the top of flat
capital letters, measured from the baseline.
Descent¶
Gets the descent of the font.
Property Value
Double
A double value specifying the maximum depth below the baseline
reached by glyphs in this font. This value is a negative number.
Leading¶
Gets the leading of the font.
Property Value
Double
A double value specifying the desired spacing between baselines of
consecutives lines of text.
MaxWidth¶
Gets the maximum width of glyphs in the font.
Property Value
Double
A double value specifying the maximum width of glyphs in the font.
Name¶
Gets the Postscript name of the font.
Property Value
String
The name of the font.
SpaceWidth¶
Gets the width of space character.
Property Value
Double
A double value specifying the width of the space character.
StemH¶
Gets the horizontal stem of the font.
Property Value
Double
A double value specifying the thickness, measured invertically, of the
dominant horizontal stems of glyphs in the font.
StemV¶
Gets the vertical stem of the font.
Property Value
Double
A double value specifying the thickness, measure horizontally, of the
dominant vertical stems of glyphs in the font.
XHeight¶
Gets the x height of the font.
Property Value
Double
A double value specifying the vertical coordinate of the top of flat
non-ascending lowercase letters (like letter x), measured from the baseline.