sunaku/tamzen-font

Powerline symbols do not render on WSL/mintty

Closed this issue · 5 comments

I'm using mintty on my Windows machine. I have installed the Tamzen fonts from the /fnt folder. I could select them perfectly fine, but the Powerline symbols will not render:
image

As you can see, all Powerline symbols seem to be replaced with some ÿ glyph.

Other fonts with Powerline support, such as Inconsolata, will render perfectly fine:
image

I could not try this in the default WSL for Windows 10 (considering its font menu only appears to accept TTF, and there are no TTFs of Tamzen with Powerline symbols (?)).

Considering Powerline support in a bitmap font was the main reason I searched for (and found) this sweet font, it would be awesome to figure out how this could be fixed.

I will add: it does not appear to be an issue with the shell itself. If I copy-paste the text output to a random text editor and choose a TamzenForPowerline font, it will still display ÿ symbols instead.

Every tool out there that I've tried fails to convert Linux bitmap fonts into any of the Windows-compatible formats (TTF, OTF, FON, FNT) without losing support for non-ASCII characters.

List of tools I've attempted:

This is becoming somewhat a problem for Linux too now that upstream Pango dropped support for bitmap fonts

There seems to be an unfilled niche for a UTF-8 compatible BDF-to-whatever font converter.

Hi @pandasauce, thanks for your extensive efforts! 👍 Could you check these newly generated fonts?

I have since then found that fonts traced with BitFonter and converted to TTF in FontLab with some manual adjustments to metrics (they don't carry over) give pixel-perfect results. It's not cheap though...

Using the TTF version of this font (available in the ttf/ subfolder), I observe that Powerline symbols are now rendered correctly under a WSL (Ubuntu) session attached to Windows Terminal 0.11.1251.0:

2020-05-08 12_31_07

Therefore, I'm closing issue. 👮‍♂️ Please re-open if you still need assistance or find other discrepancies.