Table of Contents

Constructor PlannedGlyphCluster

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

PlannedGlyphCluster(ushort[], string, Twips, Twips)

Initializes a planned cluster.

public PlannedGlyphCluster(ushort[] glyphIds, string unicodeText, Twips desiredAdvance, Twips nominalAdvance)

Parameters

glyphIds ushort[]

The glyphs that realize the cluster, in visual order.

unicodeText string

The text the cluster represents, for reverse mapping.

desiredAdvance Twips

The advance layout assigned to the cluster.

nominalAdvance Twips

The advance the font's own widths produce.

Exceptions

ArgumentNullException

glyphIds is null.