Back to API Reference
Class

FontSizeMatchModifier

sealed
Inherits:BaseModifier

Normalizes mixed fonts to a common visual size by matching x-height or cap-height (CSS font-size-adjust). Target 0 = match the primary font; >0 = match that aspect value (metric ÷ font size) for every font. Apply whole-text.

public FontNormalizeMetric Metric{ get; set }

Which metric fonts are matched on. A per-range value overrides it; this is the default for a bare tag or whole-text use.

public float Target{ get; set }

Target aspect value; 0 matches the primary font. A per-range value overrides it; this is the default for a bare tag or whole-text use.

protected override void OnApply()
protected override void OnDestroy()