|
From: | Ludovic Courtès |
Subject: | [bug#50358] [PATCH core-updates-frozen 0/8] Shortened Rust bootstrap & other fixes. |
Date: | Wed, 08 Sep 2021 18:35:15 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > Fixes <https://issues.guix.gnu.org/31403>. > > * gnu/packages/fontutils.scm (fontconfig)[source]: Fix indentation. > [configure-flags]: Drop the "--with-add-fonts" configure option as it's no > longer necessary/desirable to special case the system and user profiles. > [native-search-paths]: New search path. Nice, LGTM! Good to see a bug in the 30,000 range closed. :-) > + (native-search-paths > + ;; Since version 2.13.94, fontconfig knows to find fonts from > + ;; XDG_DATA_DIRS. > + (list (search-path-specification > + (variable "XDG_DATA_DIRS") > + (files '("share"))))) A potential drawback is that it’ll end up searching too many directories: $XDG_DATA_DIRS has 10 entries (7 if we remove duplicates) for me on Guix System, 3 of which have a fonts/ sub-directory. Hmm maybe that’s not so bad after all. Thanks! Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |