mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
fonts: Use /usr/local/share for unpackaged fonts
Avoid storing unmanaged content in `/usr/share` and use `/usr/local/share` instead. This also has the advantage of working on rpm-ostree variants for Fedora such as Silverblue & Kinoite.
This commit is contained in:
parent
1dc16c1498
commit
551362d3da
1 changed files with 3 additions and 3 deletions
|
@ -70,11 +70,11 @@ If a font is provided by a distribution package, you should always use a package
|
|||
System fonts are installed for all users.
|
||||
Anyone with an account on the machine will be able to use these fonts.
|
||||
|
||||
Create a new directory `/usr/share/fonts/<font-family-name>/` for the new font family::
|
||||
`sudo mkdir /usr/share/fonts/robofont`
|
||||
Create a new directory `/usr/local/share/fonts/<font-family-name>/` for the new font family::
|
||||
`sudo mkdir -p /usr/local/share/fonts/robofont`
|
||||
|
||||
Copy font files (e.g. `.ttf` files) to the new directory::
|
||||
`sudo cp ~/Downloads/robofont.ttf /usr/share/fonts/robofont`
|
||||
`sudo cp ~/Downloads/robofont.ttf /usr/local/share/fonts/robofont`
|
||||
|
||||
Update the font cache::
|
||||
`sudo fc-cache -v`
|
||||
|
|
Loading…
Reference in a new issue