Class AppearanceFontMetrics
- Namespace
- LMKit.Document.Annotations.Appearance
- Assembly
- LM-Kit.NET.dll
Text metrics for the standard's three universal font families, used to lay out FreeText content identically on every render target. Widths are the classic metric tables of the families' canonical faces (per-mille of the font size, ASCII 32–126; other characters use the average width). Italic reuses the upright widths (exact for the sans and mono canonical faces, within a percent for serif).
public static class AppearanceFontMetrics
- Inheritance
-
AppearanceFontMetrics
- Inherited Members
Fields
- FreeTextPadding
Inner padding of a FreeText box, in points (normative).
- LineHeight
Line advance per-mille of the font size (the standard's normative 1.25).
Methods
- Ascent(AnnotationFontFamily)
Ascent per-mille of the font size (baseline offset from the line top).
- CharWidth(char, AnnotationFontFamily, AnnotationFontWeight)
Width of one character in per-mille of the font size.
- MeasureWidth(string, AnnotationFontFamily, AnnotationFontWeight, double)
Advance width of a string, in points, at the given size.