Enum DecorationPositioningMode
Defines how text decorations (underline, overline, strikethrough) are positioned relative to font metrics.
public enum DecorationPositioningMode
Fields
GlyphFont = 1Uses each glyph's own font metrics to position its decoration. Decoration positions may vary between glyphs and fallback fonts within the same line. Matches typical Microsoft Word behavior.
PrimaryFont = 0Uses the primary (base) font's metrics for the entire run or line, ensuring a consistent decoration position across mixed fonts and scripts. Matches typical browser behavior.