Table of Contents

Method TryGetOutline

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

TryGetOutline(ushort, out GlyphOutline)

Decodes one glyph outline.

public bool TryGetOutline(ushort glyphId, out GlyphOutline outline)

Parameters

glyphId ushort

The glyph id.

outline GlyphOutline

The decoded outline, empty for a glyph with no contours.

Returns

bool

true when the glyph id is in range and the program has outlines.

Exceptions

FormatException

The glyph description is malformed.