diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-07-11 18:10:53 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-07-11 18:10:53 +0200 |
| commit | 8cfe656fbb312398244d6f0e820d4f179db3cfc7 (patch) | |
| tree | 31102175eb71b82eece64ba62cf494e1014b0fc9 /guides/setups/fonts.md | |
| parent | 66d44f9dbb1f6a6e8af5d51677ee39c496c46caa (diff) | |
| download | memory-leaks-8cfe656fbb312398244d6f0e820d4f179db3cfc7.tar.xz | |
Move some things around
Diffstat (limited to 'guides/setups/fonts.md')
| -rw-r--r-- | guides/setups/fonts.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/guides/setups/fonts.md b/guides/setups/fonts.md new file mode 100644 index 0000000..30e7739 --- /dev/null +++ b/guides/setups/fonts.md @@ -0,0 +1,49 @@ +Fonts I find useful, plus messy configuration details. + +# Symbola + +Symbola seems to cover most characters I care about (although it does +not handle fancy emoji ligatures), and new versions are released +fairly soon after each revision of the Unicode standard. + +Since distributions may not include the latest version, I often get it +directly from [the author's website](http://users.teilar.gr/~g1951d/). + +# Installing fonts with Fontconfig + +Gee, it sure is convenient to be able to install new fonts simply by +dropping them in `~/.fonts` and running `fc-cache`! + +`/etc/fonts/fonts.conf`: + + <!-- the following element will be removed in the future --> + <dir>~/.fonts</dir> + +😨 + +Bunsenlabs symlinks `~/.fonts` to `~/.local/share/fonts`, but this +path is not mentioned anywhere in `/etc/fonts`. What's the deal? + +`/etc/fonts/fonts.conf`: + + <dir prefix="xdg">fonts</dir> + +fonts-conf(5): + +> ## `<DIR PREFIX="DEFAULT">` +> +> This element contains a directory name which will be scanned for +> font files to include in the set of available fonts. If 'prefix' is +> set to "xdg", the value in the `XDG_DATA_HOME` environment variable +> will be added as the path prefix. please see XDG Base Directory +> Specification for more details. + +[XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html): + +> `$XDG_DATA_HOME` defines the base directory relative to which user +> specific data files should be stored. If `$XDG_DATA_HOME` is either +> not set or empty, a default equal to `$HOME`/.local/share should be +> used. + +Seems legit then. + |
