gabrielelana / awesome-terminal-fonts

Tools and instructions on how to have awesome symbols in a terminal with a monospace font
MIT License
2.45k stars 230 forks source link

font mapping broken #31

Closed shibumi closed 7 years ago

shibumi commented 7 years ago

Hello, The last stable commit was fcfef52938f972b6595e4730b0b4c0eac0158bfa every commit after this is broken due to font mapping issues. When I apply any other commit after this my zsh powerline seems broken.

Screenshots:

Everything fine: ..

Broken: ..

I have no idea if this is the fault of zsh-theme-powerlevel9k or of awesome-terminal-fonts.

shibumi commented 7 years ago

And the devicon font mapping seems wrong also: (doesn't matter with which commit):

https://github.com/ryanoasis/vim-devicons/issues/173

gabrielelana commented 7 years ago

I think that the explanation is in bhilburn/powerlevel9k#429 they are referring to codepoints instead of using font maps and this is a problem. Codepoints are simpler but since icon fonts use the private area codepoints have no meaning but the one given by the font author, the author can remove, rename, move a glyph because there's no standard to refer to, so I think font maps are the way to go

Moreover most of the icon fonts have css files that does the same job