From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge+list@disroot.org (Jorge P. de Morais Neto) Subject: How to use foreign-distro fonts without symlink hack? Date: Sun, 05 Jan 2020 13:50:50 -0300 Message-ID: <871rsdrgnp.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1io97S-0005xe-Q2 for help-guix@gnu.org; Sun, 05 Jan 2020 11:51:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1io97R-0006yl-H9 for help-guix@gnu.org; Sun, 05 Jan 2020 11:51:14 -0500 Received: from knopi.disroot.org ([178.21.23.139]:44752) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1io97R-0006vj-3T for help-guix@gnu.org; Sun, 05 Jan 2020 11:51:13 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C86DF20CFE for ; Sun, 5 Jan 2020 17:51:06 +0100 (CET) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rddxBUtXVYrg for ; Sun, 5 Jan 2020 17:51:05 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi. I use an updated Guix atop Debian buster on an x86-64 notebook. I had font problems in GNU Emacs. I took hours to recognize them as such and find the cause: Emacs was not using the fonts from Debian in `/usr/share/fonts'. I then worked around the problem by symlinking /usr/share/fonts to `~/.local/share/fonts' and invoking `fc-cache' (don't remember the exact parameters I used). Then additional fonts appeared in the output of `fc-list' and were indeed available to Emacs. Two questions: 1. Could this symlink cause problems for Debian applications? 2. Why does not Guix `fc-cache' look in `/usr/share/fonts'? Regards -- - - I am Brazilian. I hope my English is correct and I welcome feedback. - Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid.org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]