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.1k stars 793 forks source link

Letters with diacritical marks in Latin Extended-B block #707

Closed Buqian-LI closed 3 months ago

Buqian-LI commented 5 months ago

I like this font a lot, this is why I propose the following improvement instead of switching to another one 😝

I wish the Latin Extended-B block to be completed, especially for the letters with diacritical marks (there are some of them, but not all), which shouldn't be hard, I guess. (I mean, one can easily complete it using fontforge, but it would nice to have it by default.)

The missing letters with diacritical marks also cause inputs weirdly fallback to plain letters without diacritical marks in my terminal (kitty).

What's happening :

截屏2024-01-14 18 19 52

Expected :

截屏2024-01-14 18 20 57

I have tried every possible solutions, but it seems only modifying the font itself can resolve it.

PhMajerus commented 5 months ago

It seems that most of Extended-B is available in decomposed forms, with the diacritics properly anchored over the characters, and they just need to be stitched together to have proper precomposed forms.

image

I don't know if this is something that is automated with the current build system, but it seems like something that could be handled by a clever script that grabs the base characters and diacritics and builds the equivalent precomposed glif files.