diff options
author | Rasmus Andersson <rasmus@figma.com> | 2019-05-28 00:33:24 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@figma.com> | 2019-05-28 00:33:24 +0300 |
commit | 6bbbe588848dd3de0e846df3643a5078f73583dd (patch) | |
tree | 8fbddc3d8cf9b83e5814fb19fe052d8cc09e2db8 | |
parent | 727977bd4ec0b493bf5589bc94fe8bc8f58d9b31 (diff) | |
download | inter-6bbbe588848dd3de0e846df3643a5078f73583dd.tar.xz |
Adds installation instructions for Linux. Closes #163
-rw-r--r-- | misc/dist/install-linux.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/dist/install-linux.txt b/misc/dist/install-linux.txt new file mode 100644 index 000000000..0bd00d68f --- /dev/null +++ b/misc/dist/install-linux.txt @@ -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. |