GNU bug report logs - #38498
Fontconfig does not find fonts in non-default profiles

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Pierre Neidhardt <mail@HIDDEN>; dated Thu, 5 Dec 2019 10:44:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 38498 <at> debbugs.gnu.org:


Received: (at 38498) by debbugs.gnu.org; 5 Dec 2019 17:53:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 05 12:53:04 2019
Received: from localhost ([127.0.0.1]:45145 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1icvJH-0005GK-Um
	for submit <at> debbugs.gnu.org; Thu, 05 Dec 2019 12:53:04 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58405)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1icvJG-0005Ft-Aq
 for 38498 <at> debbugs.gnu.org; Thu, 05 Dec 2019 12:53:03 -0500
X-Originating-IP: 92.169.151.76
Received: from mimimi (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 3553060006;
 Thu,  5 Dec 2019 17:52:59 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Alex Kost <alezost@HIDDEN>
Subject: Re: bug#38498: Fontconfig does not find fonts in non-default profiles
In-Reply-To: <87o8wm66sd.fsf@HIDDEN>
References: <871rtjm4rt.fsf@HIDDEN> <87o8wm66sd.fsf@HIDDEN>
Date: Thu, 05 Dec 2019 18:52:59 +0100
Message-ID: <87fthylkw4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 38498
Cc: 38498 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Thank you Alex, that's what I did and it works.

That said, I think it'd be nice if Guix would automatically do this for
us.  After all, it already handles multiple-profiles properly for so
many other things! :)

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3pQ/sACgkQm9z0l6S7
zH9u4wf5AXm93xe/mGPlESoYDy96AfNeGL10PNcmLINf0a5kruqdCcvSSnMl8mG2
NeyV/TnCRLtHcY6e+BKzSNOfpVajrYLZ8L6VUSiHeRFujvALeRk7hl0Pe/OrQq6i
7V3GI55xdALA4hNOCZ1YEwMv59ebr9syaM808rNpG5Ry4o5SwjIYS65h5VZYeXrY
HXuC0L8Eay5fULJ6UGdqtQLFbC1Y9ArFw66KLK61Shz7+oN18LLHh9OlwZZJNgzo
9HELMFNuP/v5nlMUdz8C0smStPuogFPLUDLGXTI0ocGGDktkVLOiC2FGER0qg2Mg
hbxtPEeHS8m0cF3hMElzG5/35sMBZg==
=lygP
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#38498; Package guix. Full text available.

Message received at 38498 <at> debbugs.gnu.org:


Received: (at 38498) by debbugs.gnu.org; 5 Dec 2019 17:06:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 05 12:06:44 2019
Received: from localhost ([127.0.0.1]:45106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1icuaS-0003zT-38
	for submit <at> debbugs.gnu.org; Thu, 05 Dec 2019 12:06:44 -0500
Received: from mail-lj1-f174.google.com ([209.85.208.174]:38524)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alezost@HIDDEN>) id 1icuaQ-0003zD-K7
 for 38498 <at> debbugs.gnu.org; Thu, 05 Dec 2019 12:06:43 -0500
Received: by mail-lj1-f174.google.com with SMTP id k8so4439600ljh.5
 for <38498 <at> debbugs.gnu.org>; Thu, 05 Dec 2019 09:06:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=MD5GTOtnybNbptyNw6SnCyd4lMOBEqnfeMK1R/IDfBY=;
 b=scdeDomyk8h5fqWarau5BVb9TVjYZo7/RgygGibK0R/isNoGudou1OPXDTA/7FRkXJ
 UNxBfQFIpVYXwf84FfBebVUYDO4uNa8NHTAhJbT/yjqykb0c0s/V1dH77N5jBFWLqRoj
 cnhrCgNn4E0d4vv0n55rx6y66qwILd49RARHT69XQu3lkHAC8mAeD41UhNg/bA7XHGgx
 AQF1bm8v0ypHaXfL/yuV4D2EfiqLbT79BCA9FI+fbR9JKoawvfYahQd879Dbv3sLjgUX
 l1OjQM5z3zRWY6MDRuVbf83afbBI6DERTGJ1viMKBeaffIFWBrerI60gmRnGTTsCEtBT
 UWTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=MD5GTOtnybNbptyNw6SnCyd4lMOBEqnfeMK1R/IDfBY=;
 b=AEDtmGc2haekx5Rncqbbg6hBcgON+O93zJCsXilkrPya6ZFIAKfdXZavk6g03qWnFD
 t9/ZOzniAp3LDPHGXQdZ4mqzwOyWBHj4Q60TgjFnoajzqgsWv314pDS4oDLeV1OHf64U
 MX5jowXP5QKEVMMe+X1cOkNvk6bTRcfpWl+FeK6tSSfu9Zwgtw6f2KQwTgvnE+u4h8qw
 rhhK+7Fm5Katn7XIlrtUabK3zhEHbP74Ulm9NnJaLcHvhp5Xcz3eSzMkbfjS7DjDN5Sb
 lFPvUQ2JcA808fZvjV6DPSXO060Tj7y4R5yj+zblDSzFzwtn+5OLFLytevj9XQsxi6qb
 xaIA==
X-Gm-Message-State: APjAAAWCdv++7qxFlAI/LApw67YHJMCdZR2thU6eamwoobK6tu+/cHM5
 OeX6E8bKELtgOeFbcwuHNJss/GGR
X-Google-Smtp-Source: APXvYqwlQQTN6qSZhxt2TguLWSa+BEr78qRLgJwerVvaBZCaQm7Y2IUT/jF+3BrWY6c+bwuikzQ9eQ==
X-Received: by 2002:a2e:9741:: with SMTP id f1mr5887543ljj.123.1575565596286; 
 Thu, 05 Dec 2019 09:06:36 -0800 (PST)
Received: from leviafan ([217.107.194.29])
 by smtp.gmail.com with ESMTPSA id n5sm5067293ljh.86.2019.12.05.09.06.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 05 Dec 2019 09:06:34 -0800 (PST)
From: Alex Kost <alezost@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#38498: Fontconfig does not find fonts in non-default profiles
References: <871rtjm4rt.fsf@HIDDEN>
Date: Thu, 05 Dec 2019 20:06:42 +0300
In-Reply-To: <871rtjm4rt.fsf@HIDDEN> (Pierre Neidhardt's message of
 "Thu, 05 Dec 2019 11:43:34 +0100")
Message-ID: <87o8wm66sd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38498
Cc: 38498 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
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

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <dir>~/.guix-profiles/fonts/fonts/share/fonts</dir>
</fontconfig>

--=-=-=
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

--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#38498; Package guix. Full text available.

Message received at 38498 <at> debbugs.gnu.org:


Received: (at 38498) by debbugs.gnu.org; 5 Dec 2019 10:47:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 05 05:47:39 2019
Received: from localhost ([127.0.0.1]:43045 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1icofb-0002Kg-1M
	for submit <at> debbugs.gnu.org; Thu, 05 Dec 2019 05:47:39 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:41567)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1icofY-0002KV-Kk
 for 38498 <at> debbugs.gnu.org; Thu, 05 Dec 2019 05:47:37 -0500
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id F3C53100008
 for <38498 <at> debbugs.gnu.org>; Thu,  5 Dec 2019 10:47:34 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: 38498 <at> debbugs.gnu.org
Subject: Re: bug#38498: Acknowledgement (Fontconfig does not find fonts in
 non-default profiles)
In-Reply-To: <handler.38498.B.15755426238510.ack <at> debbugs.gnu.org>
References: <871rtjm4rt.fsf@HIDDEN>
 <handler.38498.B.15755426238510.ack <at> debbugs.gnu.org>
Date: Thu, 05 Dec 2019 11:47:34 +0100
Message-ID: <87y2vrkq0p.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 38498
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

This issue overlaps with #31403.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3o4EYACgkQm9z0l6S7
zH8DGQf+Ku7bHLq5EFkE4TnA7EEoU5o0Hn5ONKRP8b7HD0DIGh4KdeOe9SGL+0A9
jE37lITb2x2QtAyqdgsRUkH6bhnNpecYZJKOYh+WSGTfvFYDC/jh3uYPSjpLWr6x
mm0mrXfCNmt9CG7410slCrJzAeGMLBDxzgFa+vaPyzeDx0Kr/QLTDaM5MjVMp9Kr
e2XgLzqttFsc/LCsA5d+WQmYZ+5hl8PcMn0aFKO1BNpbxC5PXWPjr2NLaTir9AjP
5EgbcgrSudqo7SKwDleL/k1DaCE13fqTwwoJuiWW629/LFkKsPy//iqj3JMD5k9Z
qFKgPX+K1cy6NG3TicZ4WEXPyD414w==
=Ma42
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#38498; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Dec 2019 10:43:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 05 05:43:43 2019
Received: from localhost ([127.0.0.1]:43039 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1icobn-0002DA-FR
	for submit <at> debbugs.gnu.org; Thu, 05 Dec 2019 05:43:43 -0500
Received: from lists.gnu.org ([209.51.188.17]:37021)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1icobl-0002D3-QX
 for submit <at> debbugs.gnu.org; Thu, 05 Dec 2019 05:43:42 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:49764)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mail@HIDDEN>) id 1icobk-0006SG-69
 for bug-guix@HIDDEN; Thu, 05 Dec 2019 05:43:41 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1icobi-0002QA-EW
 for bug-guix@HIDDEN; Thu, 05 Dec 2019 05:43:39 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55567)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1icobi-0002Fe-3U
 for bug-guix@HIDDEN; Thu, 05 Dec 2019 05:43:38 -0500
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 683871C0005
 for <bug-guix@HIDDEN>; Thu,  5 Dec 2019 10:43:35 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: bug-guix@HIDDEN
Subject: Fontconfig does not find fonts in non-default profiles
Date: Thu, 05 Dec 2019 11:43:34 +0100
Message-ID: <871rtjm4rt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 217.70.183.197
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

The fontconfig package has this bit:

=2D-8<---------------cut here---------------start------------->8---
(string-append "--with-add-fonts=3D"
  "~/.guix-profile/share/fonts,"
  "/run/current-system/profile/share/fonts")
=2D-8<---------------cut here---------------end--------------->8---

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?
If not, it would be nice to implement it.  Can we use an environment variab=
le?

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3o31YACgkQm9z0l6S7
zH++YAf8CtKgVxKHG1p+eYpbx6MRoMNNdBknY7mKgXKvijClAaHEgBOS7w6aV30C
NXgLJ4cs7qrJwVzt/CQxUALyMsD3M8+IUnjOKeCduogC8TbhWY3LO2NXJgHe+upE
ViQLPmEXKgUz3wFwKc7EHUAapGWT1aoJe/ukBJ8h1KuChHH9U0iTmrPMc2Bm03wM
f75TN8Ax2o1Dd6dN2g+pM9lXU/v35jV132NmIDn1fkIzzYfmL94a4rJknQkqbxrx
G+vwsbqbxDELc2w2W2z6sfvySEFpnz22ejIbpfa7zjFM4B9+X0UB3Zjp8uNEpyWB
txIvcvPVuij6dA56QbsnuWyWuTmVhQ==
=tPIT
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Pierre Neidhardt <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#38498; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 5 Dec 2019 18:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.