PeachDrawing.Core
PeachDrawing.Core.Font
Font.UnderlinePosition Property
The font’s own real preferred underline offset (OpenType post.underlinePosition,
scaled to this font’s size the same way UnderlineThickness is), consulted only
when CSS text-underline-position: from-font is used
(css-text-decor-4
§2.5 - from-font does not exist in css-text-decor-3 at all) - a negative value moves the line below the baseline, matching
post.underlinePosition’s own sign convention. Defaults to 0 (at the baseline)
for every Font except the OpenType-descriptor-backed adapter, which overrides
it with the font’s real metric - the same plain-default pattern UnderlineThickness
uses.
public virtual double UnderlinePosition { get; }