From 994a9041cbae2fcd74799a55364c61731aae2b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9lanie=20Chauvel?= Date: Thu, 1 Mar 2018 11:34:09 +0100 Subject: [PATCH] add fontconfig configuration and add it to installation instructions --- README.md | 4 ++-- config/fontconfig/45-Hack.conf | 19 +++++++++++++++++++ docs/CONTRIBUTORS.md | 1 + 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 config/fontconfig/45-Hack.conf diff --git a/README.md b/README.md index 30d07bcb4..354dfc847 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,8 @@ Frequently asked questions are answered in our [FAQ](FAQ.md). 1. Download the [latest version of Hack][ttf_latest]. 2. Extract the files from the archive (`.zip`). 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`). -4. Clear and regenerate your font cache and indexes with the following set of commands: +4. Copy the font configuration file in `config/fontconfig/` to either the system font configuration folder (often `/etc/fonts/conf.d/`) or the font user folder (often `~/.config/fontconfig/conf.d`) +5. Clear and regenerate your font cache and indexes with the following command: ``` $ fc-cache -f -v @@ -223,4 +224,3 @@ See [LICENSE.md](https://github.com/source-foundry/Hack/blob/master/LICENSE.md) [ttf_latest]: https://github.com/source-foundry/Hack/releases/download/v3.002/Hack-v3.002-ttf.zip - diff --git a/config/fontconfig/45-Hack.conf b/config/fontconfig/45-Hack.conf new file mode 100644 index 000000000..2c9a39357 --- /dev/null +++ b/config/fontconfig/45-Hack.conf @@ -0,0 +1,19 @@ + + + + + + Hack + monospace + + + + + Hack + + + sans-serif + + + + diff --git a/docs/CONTRIBUTORS.md b/docs/CONTRIBUTORS.md index 2fd885c1f..c1c18d9a4 100644 --- a/docs/CONTRIBUTORS.md +++ b/docs/CONTRIBUTORS.md @@ -94,6 +94,7 @@ - Guilherme Amadio - Linux - Helio Chissini de Castro - Linux +- Mélanie Chauvel (ariasuni) - Linux - Samina Fu - cdnjs - Michael "Tex" Hex - Windows - Paride Legovini - Linux