From e5942cbfa488486ed846dd526e5867556442fbb3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 8 Jul 2017 21:15:21 +0200 Subject: [PATCH] doc: Recommend rebuilding the font cache. * doc/guix.texi (X11 Fonts): Recommend rebuilding the font cache with fc-cache when fonts are not found. --- doc/guix.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index cd694bbdad..6cf20aa09f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1448,6 +1448,14 @@ xset +fp ~/.guix-profile/share/fonts/truetype After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there. +@cindex @code{fc-cache} +@cindex font cache +After installing fonts you may have to refresh the font cache to use +them in applications. The same applies when applications installed via +Guix do not seem to find fonts. To force rebuilding of the font cache +run @code{fc-cache -f}. The @code{fc-cache} command is provided by the +@code{fontconfig} package. + @subsection X.509 Certificates @cindex @code{nss-certs}