PeachDrawing.Text
PeachDrawing.Text.Typeface
Typeface.TryGetScriptPosition(ScriptPlacement, ScriptPosition) Method
How the font’s designer wants subscripts or superscripts drawn (the recommended values of the OS/2 table).
public bool TryGetScriptPosition(PeachDrawing.Text.ScriptPlacement placement, out PeachDrawing.Text.ScriptPosition position);
Parameters
placement ScriptPlacement
Which of the two is wanted.
position ScriptPosition
The size and offset to use.
Returns
System.Boolean
false when the font has no usable recommendation, which is when a caller falls back to
ratios of its own.