Reputation: 14360
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
Upvotes: 2
Views: 2947
Reputation: 2455
when adding fonts, one should put those fonts in the directory that fontconfig will scan. run fc-list
to list available fonts.
Upvotes: 2
Reputation: 14360
I solved it,
Looking in cat /etc/fonts/fonts.conf
I could see
<dir>/usr/share/fonts</dir>
<dir>/usr/share/X11/fonts/Type1</dir>
<dir>/usr/share/X11/fonts/TTF</dir>
<dir>/usr/local/share/fonts</dir>
<dir>~/.fonts</dir>
Then I created a symlink ln -s ~/.local/share/fonts/ ~/.fonts
Upvotes: 2