forked from rsms/inter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds installation instructions for Linux. Closes rsms#163
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
Installing on Linux: | ||
|
||
There are many different Linux distributions and some handle font management | ||
differently. These instructions are for the most common Linux distributions: | ||
|
||
1. Create a folder called ".fonts" in your home directory. | ||
Example: mkdir -p ~/.fonts | ||
|
||
2. Copy the otf files in the "Inter (OTF)" folder into your .fonts directory | ||
Example: cp "Inter (OTF)/*.otf" ~/.fonts/ | ||
|
||
You may have to restart apps and/or your window server session. | ||
|
||
Again, these instructions are for the most common Linux distributuons like | ||
Ubuntu and might not apply to you. Refer to the documentation for your | ||
distribution for more details on how to manage fonts in your OS. | ||
|
||
|
||
Q&A | ||
|
||
Q: I installed the fonts but they don't show up | ||
A: Try rebuilding the font database: | ||
sudo fc-cache -f -v | ||
Then restart your program(s). | ||
|
||
Q: Is there a way to tell if Inter was actually installed? | ||
A: Try running: fc-list | grep "Inter" | ||
|
||
Q: ~/.fonts is an old thing. The new thing is ~/.local/share/fonts | ||
A: Yes, that is true for recent distributions. These distros usually support | ||
~/.fonts as well making these instructions work for everyone. Yay. |