microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.93k stars 805 forks source link

Clarify we can enable slashed zero by `"zero"` not only `"ss19"` in README #764

Open tats-u opened 2 months ago

tats-u commented 2 months ago

Description of the new feature/enhancement (with images if possible)

There is the unified OpenType feature to enable the slashed zero: "zero".

It is adopted by JetBrains Mono and Inter. We should avoid the unstandardized way in the font installed in the standard programming font in a OS).

If we use it, we can enable it by font-variant-numeric: slashed-zero without font-feature-settings in CSS.

Proposed technical implementation details (optional)

aaronbell commented 2 months ago

Cascadia supports both zero and ss19, in cases where zero doesn't work.

tats-u commented 2 months ago

@aaronbell Ah, you're right.

image

https://codepen.io/tats-u/pen/bGPxwNL

Then, could you add "zero" at the top or bottom of "ss19"?

tats-u commented 2 months ago

@aaronbell Now I changed the title, could you reopen this issue?

aaronbell commented 2 months ago

Yes. I will be doing an overhaul of the OT documentation in time.

tats-u commented 2 months ago

Thank you for your super quick response.