From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cB4XN906dF+XTAAA0tVLHw (envelope-from ) for ; Wed, 30 Sep 2020 07:59:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id fojjMt06dF/kUQAAbx9fmQ (envelope-from ) for ; Wed, 30 Sep 2020 07:59:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 607389402BD for ; Wed, 30 Sep 2020 07:59:24 +0000 (UTC) Received: from localhost ([::1]:43296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNX1H-0000tI-06 for larch@yhetil.org; Wed, 30 Sep 2020 03:59:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNX16-0000rm-7R for help-guix@gnu.org; Wed, 30 Sep 2020 03:59:12 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNX14-00056B-3k for help-guix@gnu.org; Wed, 30 Sep 2020 03:59:11 -0400 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id C1E50E0016; Wed, 30 Sep 2020 07:59:04 +0000 (UTC) From: Pierre Neidhardt To: Todor =?utf-8?Q?Kondi=C4=87?= , "help-guix\\@gnu.org" Subject: Re: Fonts do not work with multiple profiles (fontconfig) and a proposed workaround In-Reply-To: References: Date: Wed, 30 Sep 2020 09:59:03 +0200 Message-ID: <87tuvfy9tk.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/30 03:59:05 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: trYl5/Zs2eIn --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Todor, Indeed, this workaround does the trick. Here is my ~/.config/fontconfig/fonts.conf: =2D-8<---------------cut here---------------start------------->8--- ~/.guix-extra-profiles/emacs/emacs/share/fonts =2D-8<---------------cut here---------------end--------------->8--- Packages' content is static, it is not modifier upon install, which is why the default etc/fonts/fonts.conf is pointing to constant locations. The solution to this bug, I believe, would be to add a post-install hook that generates the fonts.conf file with the right entries. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl90OscSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/JLsIAJwNzARy4rYZgfV5mVTNS2deDWFPuh+6 3C8SFvOvvIC/sHkUYaDRbG1XStQiE2Hp0o0A6kcVuh0VpsJ6uq/I+FkZwmrQEt63 GN7eihAN631xHW2bS2cLBckfZ5VgEwqZpl/4mwxqsZ4VKWwAIz5syDUDFWYnGusV 5pwXU0ID7EBIeJOWnRQqsqXXrankNehKJKcHmwgRHLA1gg9xdxv+C3s3FK7G67HL j3z75Ljx99J4hyoObxeVjWBScN0dgBboRxliMp3/oyDX/gmkfvTRBAyu36aGPwGK /2YC94Rm7YdmrhK5n62heEUjgtERjwepaVyWXvI/nkzhbDKSAdMxj08= =ADc9 -----END PGP SIGNATURE----- --=-=-=--