GetWidth(Int32) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Gets the advance width of one of the substitute's glyphs, in thousandths of text space.

public double GetWidth(int glyphId)

Parameters

glyphId
Int32

The glyph id in Program.

Returns

Double
The width; 0 when the program records none for the glyph.

Remarks

ISO 32000-2 §9.2.4: the program's advance mapped through its font matrix.