Class Type1FontMetrics

Type1FontMetrics class

Represents Type1 Font metrics.

public class Type1FontMetrics : FontMetrics

Properties

NameDescription
override Ascender { get; }Gets ascender value.
CapHeight { get; }Gets cap height value.
override Descender { get; }Gets descender value.
override FontBBox { get; }Gets FontBBox value.
override FontMatrix { get; }Gets Font transformation matrix.
IsFixedPitch { get; }Gets IsFixedPitch value.
ItalicAngle { get; }Gets italic angle value.
virtual LineGap { get; }Gets LineGap value.
StdHW { get; }Gets StdHW value.
StdVW { get; }Gets StdVW value.
virtual TypoAscender { get; set; }Gets TypoAscender value.
virtual TypoDescender { get; set; }Gets TypoDescender value.
virtual TypoLineGap { get; }Gets TypoLineGap value.
UnderlinePosition { get; }Gets underline position value.
UnderlineThickness { get; }Gets underline thickness value.
override UnitsPerEM { get; set; }Gets underline UnitsPerEM value.
Weight { get; }Gets weight.
XHeight { get; }Gets XHeight value.

Methods

NameDescription
virtual GetAscender(double)Returns ascender for specific Font size.
virtual GetDescender(double)Returns descender for specific Font size.
virtual GetGlyphBBox(GlyphId)Returns glyph BBox. Returns FontBBox if BBox was not defined for the glyph. May be overridden by specific font encoding inheritors.
override GetGlyphWidth(GlyphId)Returns glyph width. May be ovridden by specific font encoding inheritors.
virtual GetKerningValue(GlyphId, GlyphId)Returns kerning value for the glyph pair.
virtual GetTypoAscender(double)Returns descender for specific Font size.
virtual GetTypoDescender(double)Returns descender for specific Font size.
virtual GetTypoLineGap(double)Returns line gap for specific Font size.
override MeasureString(string, double)Measures string and returns string width.

See Also