From 6bbbe588848dd3de0e846df3643a5078f73583dd Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Mon, 27 May 2019 14:33:24 -0700 Subject: Adds installation instructions for Linux. Closes #163 --- misc/dist/install-linux.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 misc/dist/install-linux.txt (limited to 'misc/dist') 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. -- cgit v1.2.3