Table of Contents

Method GetVariants

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

GetVariants(ushort, bool)

Gets the size variants of a glyph in one direction, smallest first; the glyph itself is usually the first. Empty when the table has none.

public IReadOnlyList<MathGlyphVariant> GetVariants(ushort glyphId, bool vertical)

Parameters

glyphId ushort

The glyph.

vertical bool

True for the variants that grow upwards; false for those that grow sideways.

Returns

IReadOnlyList<MathGlyphVariant>

The variants.