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

Incorrect spacing under Windows and MacOS #29

Open
henryruhs opened this issue Feb 10, 2018 · 2 comments
Open

Incorrect spacing under Windows and MacOS #29

henryruhs opened this issue Feb 10, 2018 · 2 comments
Labels

Comments

@henryruhs
Copy link

Hello,

there is strange / incorrect spacing under Windows for Chrome and Firefox caused by the Consolas font.

image

@henryruhs henryruhs changed the title Incorrect spacing under Windows caused by Consolas Incorrect spacing caused by Consolas Feb 10, 2018
@marionebl marionebl added the bug label Feb 16, 2018
@marionebl
Copy link
Owner

marionebl commented Feb 16, 2018

Can reprodue this but currently I have no good idea on how to solve it - changing Consolas to a different monospace font just creates the same problem to a different extent.

We might have to use web fonts to ensure same rendering on all platforms. https://github.com/powerline/fonts/tree/master/Hack might be a good choice.

@henryruhs
Copy link
Author

henryruhs commented Mar 5, 2018

I investigated more into the current monospace font stack.

OS Font Stack Monaco Consolas Menlo Bitstream Vera Sans Mono Powerline Symbols monospace
Windows 10 (Firefox)
Ubuntu 17 (Firefox)
MacOS 10 (Safari)

✔ ~ correct
✖ ~ broken

According to the table, I suggest to use 'Bitstream Vera Sans Mono', monospace.

@henryruhs henryruhs changed the title Incorrect spacing caused by Consolas Incorrect spacing under Windows and MacOS Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants