PeachDrawing.Core
PeachDrawing.Core.Font
Font.GetBaselineHeightEm(string, bool) Method
How far above the alphabetic baseline the font itself puts a named baseline, as a fraction of the em (negative when below it), read from the
font’s BASE table. Null when the font states nothing for it, in which case a caller approximates the baseline from the font’s metrics.
public virtual System.Nullable<double> GetBaselineHeightEm(string baselineTag, bool vertical);
Parameters
baselineTag System.String
The OpenType baseline tag: ideo, hang, math, icfb or icft.
vertical System.Boolean
Whether to read the vertical axis (the baselines of vertical text) rather than the horizontal one.