summaryrefslogtreecommitdiff
path: root/personal/setup/fonts.md
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-07-05 20:22:25 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-07-05 20:25:53 +0200
commitc28de7d0cab86d8584377e33ceaa6b039ee16cf5 (patch)
tree1ea8ce4b9ba1cdebe012d40f145a36c5f285ba16 /personal/setup/fonts.md
parentba2a9102678d74323e512562bf4d230cdc6522b2 (diff)
downloadmemory-leaks-c28de7d0cab86d8584377e33ceaa6b039ee16cf5.tar.xz
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.
Diffstat (limited to 'personal/setup/fonts.md')
-rw-r--r--personal/setup/fonts.md49
1 files changed, 49 insertions, 0 deletions
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`:
+
+ <!-- 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.
+