PeachDrawing.Text
PeachDrawing.Text.ScriptPosition
ScriptPosition(double, double) Constructor
How a font’s designer wants subscripts or superscripts drawn: the size and offset of the OS/2 table’s
recommended values.
public ScriptPosition(double SizeScale, double BaselineShift);
Parameters
SizeScale System.Double
The size of the smaller text as a fraction of the em, to multiply the text size by.
BaselineShift System.Double
How far the text moves from the baseline as a fraction of the em, up for a superscript and down for a subscript.
Remarks
Only the vertical size is used, so a run scaled by it keeps its proportions. Both values are fractions of the em.