类 Type1FontMetrics

Type1FontMetrics class

表示 Type1 字体度量。

public class Type1FontMetrics : FontMetrics

属性

名称描述
override Ascender { get; }获取升部值。
CapHeight { get; }获取大写字母高度值。
override Descender { get; }获取降部值。
override FontBBox { get; }获取 FontBBox 值。
override FontMatrix { get; }获取字体变换矩阵。
IsFixedPitch { get; }获取 IsFixedPitch 值。
ItalicAngle { get; }获取斜体角度值。
virtual LineGap { get; }获取 LineGap 值。
StdHW { get; }获取 StdHW 值。
StdVW { get; }获取 StdVW 值。
virtual TypoAscender { get; set; }获取 TypoAscender 值。
virtual TypoDescender { get; set; }获取 TypoDescender 值。
virtual TypoLineGap { get; }获取 TypoLineGap 值。
UnderlinePosition { get; }获取下划线位置值。
UnderlineThickness { get; }获取下划线粗细值。
override UnitsPerEM { get; set; }获取下划线 UnitsPerEM 值。
Weight { get; }获取字重。
XHeight { get; }获取 XHeight 值。

方法

名称描述
virtual GetAscender(double)返回特定字体大小的升部值。
virtual GetDescender(double)返回特定字体大小的降部值。
virtual GetGlyphBBox(GlyphId)返回字形 BBox。若字形未定义 BBox,则返回 FontBBox。可能会被特定字体编码的继承者覆盖。
override GetGlyphWidth(GlyphId)返回字形宽度。可能会被特定字体编码的继承者覆盖。
virtual GetKerningValue(GlyphId, GlyphId)返回字形对的字距值。
virtual GetTypoAscender(double)返回特定字体大小的降部值。
virtual GetTypoDescender(double)返回特定字体大小的降部值。
virtual GetTypoLineGap(double)返回特定字体大小的行间距值。
override MeasureString(string, double)测量字符串并返回字符串宽度。
override SetGlyphWidth(GlyphId, double)设置字形宽度。

另见