Skip to content

Commit 90847e9

Browse files
committed
[README.md] updated Linux font cache clear instructions and added information about font rendering improvements on Linux platform
1 parent d8964c6 commit 90847e9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,21 @@ Frequently asked questions are answered in our [FAQ](FAQ.md).
4848

4949
1. Download the [latest version of Hack][ttf_latest].
5050
2. Extract the files from the archive (`.zip`).
51-
3. Copy the font files to either your system font folder (often `/usr/share/fonts/`) or user font folder (often `~/.local/share/fonts/`).
51+
3. Copy the font files to either your system font folder (often `/usr/share/fonts/`) or user font folder (often `~/.local/share/fonts/` or `/usr/local/share/fonts`).
5252
4. Clear and regenerate your font cache and indexes with the following set of commands:
5353

5454
```
55-
$ fc-cache
56-
$ mkfontscale <install_path>
57-
$ mkfontdir <install_path>
55+
$ fc-cache -f -v
5856
```
5957

58+
You can confirm that the fonts are installed with the following command:
59+
60+
```
61+
$ fc-list | grep "Hack"
62+
```
63+
64+
Some Linux users may find that font rendering is improved on their distro with [these instructions](https://wiki.manjaro.org/index.php?title=Improve_Font_Rendering).
65+
6066
### macOS
6167

6268
1. Download the [latest version of Hack][ttf_latest].

0 commit comments

Comments
 (0)