AfmCharacterMetrics Class
The metrics of one character of an AFM file: a line of its StartCharMetrics section (Adobe Technical Note #5004, section 8).
public sealed class AfmCharacterMetricsProperties
| Name | Description |
|---|---|
| BoundingBox | Gets the bounding box of the character (B): all zeros for a character that makes no marks. |
| Code | Gets the code of the character in the default encoding of the font (C or CH), or −1 when the character is not encoded. In a CID-keyed font, it is the CID. |
| Ligatures | Gets the ligatures that start with the character (L), in the order of the file. |
| Name | Gets the PostScript name of the character (N). |
| VVector | Gets the vector from the origin of writing direction 0 to the origin of writing direction 1 (VV). |
| VerticalWidth | Gets the width vector of the character for writing direction 1 (W1X, W1Y and W1). |
| Width | Gets the width vector of the character for writing direction 0 (WX, WY, W and their W0 forms). |
BoundingBox
AfmCharacterMetrics.csLigatures
AfmCharacterMetrics.csGets the ligatures that start with the character (L), in the order of the file.
public IReadOnlyList<AfmLigature> Ligatures { get; }Property value
VVector
AfmCharacterMetrics.csGets the vector from the origin of writing direction 0 to the origin of writing direction 1 (VV).
public AfmVector? VVector { get; }Property value
VerticalWidth
AfmCharacterMetrics.csGets the width vector of the character for writing direction 1 (W1X, W1Y and W1).
public AfmVector? VerticalWidth { get; }Property value
Gets the width vector of the character for writing direction 0 (WX, WY, W and their W0 forms).
public AfmVector? Width { get; }Property value
Remarks
When the file gives no width for the character, the AfmWritingDirection.CharWidth of the direction applies: see AfmFontMetrics.GetWidth.