From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#38498: Fontconfig does not find fonts in non-default profiles Date: Thu, 05 Dec 2019 20:06:42 +0300 Message-ID: <87o8wm66sd.fsf@gmail.com> References: <871rtjm4rt.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48871) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icuan-0005CN-GG for bug-guix@gnu.org; Thu, 05 Dec 2019 12:07:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icual-0004h2-Qy for bug-guix@gnu.org; Thu, 05 Dec 2019 12:07:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icuak-0004fW-D1 for bug-guix@gnu.org; Thu, 05 Dec 2019 12:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1icuak-000402-3Z for bug-guix@gnu.org; Thu, 05 Dec 2019 12:07:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <871rtjm4rt.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 05 Dec 2019 11:43:34 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Pierre Neidhardt Cc: 38498@debbugs.gnu.org --=-=-= Content-Type: text/plain Pierre Neidhardt (2019-12-05 11:43 +0100) wrote: > The fontconfig package has this bit: > > (string-append "--with-add-fonts=" > "~/.guix-profile/share/fonts," > "/run/current-system/profile/share/fonts") > > If I understand correctly, fonts can only be installed at the system > level or in ~/.guix-profile. > Is there a way to install fonts in a non-default profile? I install fonts into a special profile. All you need to do is edit your "~/.config/fontconfig/fonts.conf" file. Mine looks like this: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=fonts.conf ~/.guix-profiles/fonts/fonts/share/fonts --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This allows =E2=80=98fc-cache=E2=80=99 and similar commands to find fonts f= rom a non-standard directory. --=20 Alex --=-=-=--