AfmWritingDirection Class

The metrics of an AFM file for one writing direction (Adobe Technical Note #5004, section 7.2).

public sealed class AfmWritingDirection

Properties

NameDescription
CharWidthGets the width vector of every character, when all the characters have the same one in this direction.
IsFixedPitchGets a value indicating whether the font is monospaced in this direction.
ItalicAngleGets the angle, in degrees counter-clockwise from the vertical, of the dominant vertical strokes: 0 for a font that is not italic.
UnderlinePositionGets the distance from the baseline to the center of the underline: a y displacement for writing direction 0, an x displacement for writing direction 1.
UnderlineThicknessGets the stroke width of the underline.

Gets the width vector of every character, when all the characters have the same one in this direction.

public AfmVector? CharWidth { get; }

Property value

AfmVector?

Gets a value indicating whether the font is monospaced in this direction.

public bool IsFixedPitch { get; }

Property value

bool

Gets the angle, in degrees counter-clockwise from the vertical, of the dominant vertical strokes: 0 for a font that is not italic.

public double? ItalicAngle { get; }

Property value

double?

UnderlinePosition

AfmWritingDirection.cs

Gets the distance from the baseline to the center of the underline: a y displacement for writing direction 0, an x displacement for writing direction 1.

public double? UnderlinePosition { get; }

Property value

double?

UnderlineThickness

AfmWritingDirection.cs

Gets the stroke width of the underline.

public double? UnderlineThickness { get; }

Property value

double?