PeachDrawing.Text

PeachDrawing.Text.Typeface

Typeface.GetTracking(double) Method

The space the font asks to be added to every glyph’s advance at a point size, in design units (the trak table): zero for a font with none, and for most fonts. A face made to be set tighter as it grows and looser as it shrinks (Apple’s San Francisco) lists the amounts by size; a text layer that follows the platform adds this to each advance.

public double GetTracking(double sizeInPoints);

Parameters

sizeInPoints System.Double

The font size, in points.

Returns

System.Double

Remarks

The amount is for the table’s normal track, interpolated between the sizes it lists and held at the ends beyond them. It is negative for tighter.