From c28de7d0cab86d8584377e33ceaa6b039ee16cf5 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 5 Jul 2018 20:22:25 +0200 Subject: Add notes on my laptop setup Sneak-remove my itch to disable auto-fill for Markdown titles, since I'm not sure any mode ever does things like that. While this does not mean that it could not be done, it does make the endeavor somewhat non-idiomatic. --- personal/setup/fonts.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 personal/setup/fonts.md (limited to 'personal/setup/fonts.md') diff --git a/personal/setup/fonts.md b/personal/setup/fonts.md new file mode 100644 index 0000000..30e7739 --- /dev/null +++ b/personal/setup/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`: + + + ~/.fonts + +😨 + +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`: + + fonts + +fonts-conf(5): + +> ## `` +> +> 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. + -- cgit v1.2.3