powerline / fontpatcher

Script to patch arrow and symbol glyphs into fonts for usage with Powerline and other compatible plugins.
Other
364 stars 60 forks source link

Patching Crystal font leads to strange effect on UTF-8 characters #8

Open ghost opened 9 years ago

ghost commented 9 years ago

Environment: Ubuntu 14.04, $LANG=ja_JP.UTF-8

Patching https://github.com/whistler/monospace-fonts/blob/master/crystal.ttf is successful, but causes Japanese glyphs to be rendered oblique where they appear.

Did not observe this error on any other fonts I have tried.

Steps to reproduce:

export LANG=ja_JP.UTF-8
./powerline-fontpatcher crystal.ttf
mv "Crystal for Powerline.ttf" ~/.fonts/
fc-cache -v ~/.fonts/

Set terminal font accordingly, type, say, apt-get.

ghost commented 9 years ago

Interestingly enough, the right arrow glyph at the end of the powerline prompt is also oblique in this font after patching.