slavfox / Cozette

A bitmap programming font optimized for coziness 💜
MIT License
2.84k stars 42 forks source link

Newest additions are non-normal width #77

Closed cpkio closed 2 years ago

cpkio commented 2 years ago

These are at least double width, and do not display correctly in CozetteVector.ttf at least: ⛔ (U+26D4 NO ENTRY) ✨ (U+2728 SPARKLES) ❓ (U+2753 BLACK QUESTION MARK ORNAMENT)

I dont care about three-byte glyphs, they arent available in vector font anyway.

slavfox commented 2 years ago

I base character widths on Python's unicodedata.east_asian_width, which corresponds to how xterm and alacritty display them. These get rendered as double-width in terminals using the bitmap font, so they're drawn as double-width.

It seems to me there is no way to do this in a way that satisfies both bitmap and vector font users, so because Cozette is a bitmap font first and foremost I don't think there's anything I can do except leave this as-is.