Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powerline symbols do not render on WSL/mintty #26

Closed
griendt opened this issue Oct 29, 2019 · 5 comments
Closed

Powerline symbols do not render on WSL/mintty #26

griendt opened this issue Oct 29, 2019 · 5 comments
Assignees

Comments

@griendt
Copy link

griendt commented Oct 29, 2019

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.

@griendt
Copy link
Author

griendt commented Oct 29, 2019

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.

@pandasauce
Copy link

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.

@sunaku
Copy link
Owner

sunaku commented May 3, 2020

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

@sunaku sunaku self-assigned this May 3, 2020
@pandasauce
Copy link

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...

@sunaku
Copy link
Owner

sunaku commented May 8, 2020

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.

@sunaku sunaku closed this as completed May 8, 2020
This was referenced May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants