fontscentos6vim-powerlinevim-airline

Install powerline fonts on centOS6.6


I installed recently the patched fonts for Powerline users from the github repository on a centOS6.6 box.

As indicated in the docs I executed the script that ran ok and printed

[statquant@latitude fonts]$ ./install.sh 
Copying fonts...
Resetting font cache, this may take a moment...
All Powerline fonts installed to /home/statquant/.local/share/fonts

And indeed:

[statquant@latitude fonts]$ tree /home/statquant/.local/share/fonts
/home/statquant/.local/share/fonts
├── Anonymice\ Powerline\ Bold\ Italic.ttf
├── Anonymice\ Powerline\ Bold.ttf
├── Anonymice\ Powerline\ Italic.ttf
├── Anonymice\ Powerline.ttf
...

But for some reason gvim is not picking up those fonts, as it the context menu Edit > select font... I have no trace on any *Powerline font.

Any help appreciated


Solution

  • when adding fonts, one should put those fonts in the directory that fontconfig will scan. run fc-list to list available fonts.

    the fontconfig user's guide