Replace ~/.fonts with ~/.local/share/fonts in help
`~/.fonts/` has been deprecated in favour of `~/.local/share/fonts/`. References: - https://github.com/behdad/fontconfig/blob/master/fonts.conf.in#L29 - https://lists.freedesktop.org/archives/fontconfig/2014-July/005270.html Fixes #1793
This commit is contained in:
parent
9cd66c0b2f
commit
34dc7f9f55
|
@ -60,12 +60,12 @@ with any coding font.
|
|||
#. Move the symbol font to a valid X font path. Valid font paths can be
|
||||
listed with ``xset q``::
|
||||
|
||||
mv PowerlineSymbols.otf ~/.fonts/
|
||||
mv PowerlineSymbols.otf ~/.local/share/fonts/
|
||||
|
||||
#. Update font cache for the path the font was moved to (root priveleges may be
|
||||
needed to update cache for the system-wide paths)::
|
||||
|
||||
fc-cache -vf ~/.fonts/
|
||||
fc-cache -vf ~/.local/share/fonts/
|
||||
|
||||
#. Install the fontconfig file. For newer versions of fontconfig the config
|
||||
path is ``~/.config/fontconfig/conf.d/``, for older versions it’s
|
||||
|
@ -92,12 +92,12 @@ After downloading font the following should be done:
|
|||
#. Move the patched font to a valid X font path. Valid font paths can be
|
||||
listed with ``xset q``::
|
||||
|
||||
mv 'SomeFont for Powerline.otf' ~/.fonts/
|
||||
mv 'SomeFont for Powerline.otf' ~/.local/share/fonts/
|
||||
|
||||
#. Update font cache for the path the font was moved to (root privileges may be
|
||||
needed for updating font cache for some paths)::
|
||||
|
||||
fc-cache -vf ~/.fonts/
|
||||
fc-cache -vf ~/.local/share/fonts/
|
||||
|
||||
After installing patched font terminal emulator, GVim or whatever application
|
||||
powerline should work with must be configured to use the patched font. The
|
||||
|
|
Loading…
Reference in New Issue