fonts.md (1589B)
1 Fonts I find useful, plus messy configuration details. 2 3 # Symbola 4 5 Symbola seems to cover most characters I care about (although it does 6 not handle fancy emoji ligatures), and new versions are released 7 fairly soon after each revision of the Unicode standard. 8 9 Since distributions may not include the latest version, I often get it 10 directly from [the author's website](http://users.teilar.gr/~g1951d/). 11 12 # Installing fonts with Fontconfig 13 14 Gee, it sure is convenient to be able to install new fonts simply by 15 dropping them in `~/.fonts` and running `fc-cache`! 16 17 `/etc/fonts/fonts.conf`: 18 19 <!-- the following element will be removed in the future --> 20 <dir>~/.fonts</dir> 21 22 😨 23 24 Bunsenlabs symlinks `~/.fonts` to `~/.local/share/fonts`, but this 25 path is not mentioned anywhere in `/etc/fonts`. What's the deal? 26 27 `/etc/fonts/fonts.conf`: 28 29 <dir prefix="xdg">fonts</dir> 30 31 fonts-conf(5): 32 33 > ## `<DIR PREFIX="DEFAULT">` 34 > 35 > This element contains a directory name which will be scanned for 36 > font files to include in the set of available fonts. If 'prefix' is 37 > set to "xdg", the value in the `XDG_DATA_HOME` environment variable 38 > will be added as the path prefix. please see XDG Base Directory 39 > Specification for more details. 40 41 [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html): 42 43 > `$XDG_DATA_HOME` defines the base directory relative to which user 44 > specific data files should be stored. If `$XDG_DATA_HOME` is either 45 > not set or empty, a default equal to `$HOME`/.local/share should be 46 > used. 47 48 Seems legit then. 49