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.16k stars 797 forks source link

[Feature Request] Old-style numerals `onum` #570

Open ghost opened 2 years ago

ghost commented 2 years ago

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

I’m a fan of old-style numbers - the kind where some numbers go below the baseline and above the x height. Old-style figures have varying heights and placements of the digits.

From what I'm aware, Fira Code (based on Fira Mono), Consolas and Iosevka support them.

image image image

Proposed technical implementation details (optional)

Some digits have ascenders: 6 and 8 and descenders: 3, 4, 5, 7 and 9, while 0, 1 and 2 have neither and need some adjustments. Numbers, excluding 6/8, of course should be slightly higher than the lowercase height.