From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cI8nC6fC2188UQAA0tVLHw (envelope-from ) for ; Thu, 17 Dec 2020 20:42:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id COv7BqfC218AQgAA1q6Kng (envelope-from ) for ; Thu, 17 Dec 2020 20:42:15 +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 AC18D940363 for ; Thu, 17 Dec 2020 20:42:14 +0000 (UTC) Received: from localhost ([::1]:34336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq06H-0001a7-KK for larch@yhetil.org; Thu, 17 Dec 2020 15:42:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq05f-0001Zx-MO for help-guix@gnu.org; Thu, 17 Dec 2020 15:41:35 -0500 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:37896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq05Z-0007od-Ob for help-guix@gnu.org; Thu, 17 Dec 2020 15:41:35 -0500 Received: by mail-qt1-x82c.google.com with SMTP id y15so21090156qtv.5 for ; Thu, 17 Dec 2020 12:41:29 -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:content-transfer-encoding; bh=EqRZuqu4Y1hyTg8sUIt7SST9+PQfC/bHB2mYVLZwI4E=; b=rnyEL5rimekD8xItGE+eUc9zc5wRx3OvznNvhUkuttAO6zbmHAlGLcElSnvGm47/ko NNSDl//1kcFYRg/6176jPkBKkj1gKo4Z7RSgJdU/24/tqIwHId/GqdIHOBWkqw/abvtj EadKkngSw75fMNMZOjrM7g7K6jDVBj+BqYfP6UZTQzdOTfOkZ8UEll0F9N/MHwqtGOFH XvD+AuvWwhpzBCVmUpK3ze/PEaBCe1FPpxhpy40/DW5EWecXU0bubRxWLRaxHgBFmDxT kZZkSaiZYGs+gZnLXEDEHxEFHjtNDey6Cp3pmf9KgXcaDN6RYM4EIKmNCs8U5ebV9s0x lbXg== 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:content-transfer-encoding; bh=EqRZuqu4Y1hyTg8sUIt7SST9+PQfC/bHB2mYVLZwI4E=; b=GBBmGEnVEcWck4ABtCgnArJei0zKmAI59QyYRzuW6Fl8Qs46cymom4s7o59UuVjljN EJ/FpskNRQ/JjTNGRhOaKVgR/fCO0DxdIWA5opUwQCOnPbSsltqld2u0FgjPFamyYEoi 4NZTu5s8MZYhT4eoZ2uOEM9VqQ0zQFoiZLmps0CPgiqaz0iv07wb7s4lSLw6/5fjQa+r y4oTouHSvy1bG6+eprWk384mrQThWm/VBuub25V9IRu1AHXuBdzqMXs6XJwOxr01B275 T/JnyPMMHj5JAeHElnYCLyMawOES7GLt+96rqfA6eRbWuF01GUDKMYQ4hoUxeDcx4eAJ ev3w== X-Gm-Message-State: AOAM532QsPyG9+t0O7xQpYwYEmqUdbC1MI6NdWpdcAuQoLxJqxtfNLXN cvnV/Uz3+gOWalA0n1WWIWOiCAz/zmsFlg== X-Google-Smtp-Source: ABdhPJxplXnTizbSS1LvpybOjfTQOobyYc8EtpCqfGVIjmGQh2MvWZZNH+MhTjFq1OnvUbLDCMzjDw== X-Received: by 2002:ac8:7190:: with SMTP id w16mr637323qto.134.1608237688306; Thu, 17 Dec 2020 12:41:28 -0800 (PST) Received: from hurd (dsl-141-126.b2b2c.ca. [66.158.141.126]) by smtp.gmail.com with ESMTPSA id y9sm4171119qtm.96.2020.12.17.12.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 12:41:27 -0800 (PST) From: Maxim Cournoyer To: Todor =?utf-8?Q?Kondi=C4=87?= Subject: Re: Fonts do not work with multiple profiles (fontconfig) and a proposed workaround References: <87tuvfy9tk.fsf@ambrevar.xyz> <4qtqn61QUsVPmKV144g0dSsr55C8gea2B86SsGVSQpRzuKr4far0---GZx-aMqv6SXBndbVQFIDHmbJKh9G5kTYTqGPw_xQW3KOWMdjBuvs=@protonmail.com> Date: Thu, 17 Dec 2020 15:41:27 -0500 In-Reply-To: <4qtqn61QUsVPmKV144g0dSsr55C8gea2B86SsGVSQpRzuKr4far0---GZx-aMqv6SXBndbVQFIDHmbJKh9G5kTYTqGPw_xQW3KOWMdjBuvs=@protonmail.com> ("Todor =?utf-8?Q?Kondi=C4=87=22's?= message of "Wed, 30 Sep 2020 08:21:12 +0000") Message-ID: <87k0tggo7c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Cc: "help-guix\\@gnu.org" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=rnyEL5ri; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: AC18D940363 X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZsF/baCCYBil Hi, Todor Kondi=C4=87 writes: >> Hi Todor, >> >> Indeed, this workaround does the trick. >> Here is my ~/.config/fontconfig/fonts.conf: >> >> --8<---------------cut here---------------start------------->8--- >> >> >> >> >> ~/.guix-extra-profiles/emacs/emacs/share/fonts >> >> --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! I think a proper fix would be contributing a patch to fontconfig so that it honors XDG_DATA_DIRS to lookup its fonts. Any takers? Maxim