Fonts that support the OpenType Slashed Zero feature can display 0 with a diagonal slash so it is easier to distinguish from O.
In the provided Microsoft documentation, Miramonte is the explicit example font shown using slashed zero.
In WPF, slashed zero can be enabled like this:
<Paragraph FontFamily="Miramonte">
<Run>Order #0048-OTC-390</Run>
<LineBreak/>
<Run Typography.SlashedZero="True">Order #0048-OTC-390</Run>
</Paragraph>
Key points:
- Miramonte is a documented example of a font with slashed zero support.
- The OpenType feature tag is
'zero'.
- This feature is discretionary and can be toggled by applications when the font supports it.
- If slashed zero is enabled in WPF but the selected font does not support it, the default zero is shown instead.
References: