Open henryruhs opened 6 years ago
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.
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
.
Hello,
there is strange / incorrect spacing under Windows for Chrome and Firefox caused by the
Consolas
font.