From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UKiKCUIoL2P5/wAAbAwnHQ (envelope-from ) for ; Sat, 24 Sep 2022 17:54:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EEGcCEIoL2P7KQEAG6o9tA (envelope-from ) for ; Sat, 24 Sep 2022 17:54:42 +0200 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 E6476943F for ; Sat, 24 Sep 2022 17:54:41 +0200 (CEST) Received: from localhost ([::1]:53106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc7UH-0007sL-3I for larch@yhetil.org; Sat, 24 Sep 2022 11:54:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc7Sg-0006VO-JQ for guix-patches@gnu.org; Sat, 24 Sep 2022 11:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc7Sg-0005jF-BH for guix-patches@gnu.org; Sat, 24 Sep 2022 11:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oc7Sg-0000KO-5o for guix-patches@gnu.org; Sat, 24 Sep 2022 11:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57963] [PATCH 0/1] Support user's fontconfig. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Sep 2022 15:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Taiju HIGASHI Cc: 57963@debbugs.gnu.org, Liliana Marie Prikler , Andrew Tropin Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.16640347311187 (code B ref 57963); Sat, 24 Sep 2022 15:53:02 +0000 Received: (at 57963) by debbugs.gnu.org; 24 Sep 2022 15:52:11 +0000 Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc7Rr-0000J4-AI for submit@debbugs.gnu.org; Sat, 24 Sep 2022 11:52:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc7Ro-0000Il-SK for 57963@debbugs.gnu.org; Sat, 24 Sep 2022 11:52:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc7Rj-0005dg-B1; Sat, 24 Sep 2022 11:52:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=hILSlAEIsp+ZtoWmiW2qW47xO6Cn7DGJmcUAxQfHE1I=; b=fXgF6NhXurJ3hVR+Ss6T 5Jjh2hUz+1XKxRcjGbwD2oz+7FPI/uonRlijddC6qGmwdQKW0FfIqN6g/C8vh2eIkwOekrNphJ0cC al3Lw/RFCAuY3PzeXNDiVfsPCst3QvW0RV6M5mhjOBNcQYhisIZg15cks+DW0IpXVfj/0FL1eHYpO fVDFAHgcN/riZfIv+kcBn405UiPBqhxDKI1bD3qqF4fz3Soy+3ppUTwZzXl0mDnu/2m8NPYySkJzv n0FCW9ScIgSVN5c83zwZYjIOploXA4fJfs+pGaqQwRdifdAXWNxw7aTTixe32pTuiBdDIeEyu3rpd lZYyRupKjtyFjA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58752 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc7Ri-00017X-Tx; Sat, 24 Sep 2022 11:52:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220921002721.23511-1-higashi@taiju.info> <20220922012033.30835-1-higashi@taiju.info> <87pmfoq6kt.fsf@trop.in> <87sfkjiyck.fsf@gnu.org> <875yhfwxe9.fsf@taiju.info> Date: Sat, 24 Sep 2022 17:52:01 +0200 In-Reply-To: <875yhfwxe9.fsf@taiju.info> (Taiju HIGASHI's message of "Thu, 22 Sep 2022 18:50:38 +0900") Message-ID: <871qs093dq.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664034881; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hILSlAEIsp+ZtoWmiW2qW47xO6Cn7DGJmcUAxQfHE1I=; b=BY3Kpb4yks0HU4/osEOZgb8ICrapiE0roD5zC9pFvNFwZSRjH3SJEP8dMQWiWRf5eEbsF0 6O0deWEdgKCF4cG9Xnqrrproog6C8l02f0uJHcOeRANoiO4NNndjHybhEgSzJXPAeJYxUj uzZbXFPUeNis9tRN8iuydEktvS6Ku6j/RyR85TF22JLpDPNdh0wS52AtKxRRsIHBDo0xsj hQuQD0GPl+UMYwwAxBly8JWV036LWPp8RmqrCgwYrBeCzFz7JdfHHxiIiHZgsIDyo/DWEG TgNVD9+FMjNO8KueV2wSwCYLTuMSJ/DeRc2P2fwARnQQpfmJ9X/nZY8TxgqcWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664034881; a=rsa-sha256; cv=none; b=k1piHtZhIeSu8Hgh0CNOqirtbW1G40wtjyERaO1VmO46KYvgzdo9qN0zr+WCb0boVjAmCY XqXTEid1ZTvYg20Epdnks5R7rjT+TyF3xvjA9QaE/z+ifuY2uhvwW8Rp5Or29rbzMPE3+8 ni1N6O29LY5pvBzl41bBFVWmS8S4gRAQ9psn+NdUBqTxmQybJ8mSydS/kQl54RN3Deirv2 JkOHmEyCIO369tVZjtZuJo5+eNYeRlf3hktJmhGXgQLYjd14rVcqnlS9uFO3m8iFRUxykT y1Xm2Stc4aeaYulsWPr+17oQNKCxl/ILJuEX3HPHoPrMbFfoLeJSOE9nIJDRJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fXgF6NhX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fXgF6NhX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E6476943F X-Spam-Score: 0.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: KCCMhAUGfqND Hi, Taiju HIGASHI skribis: > I'm not very knowledgeable about G-Expressions, so I don't understand > much of what you replied. (I will study it!). I didn=E2=80=99t mention gexps. :-) > Ludovic Court=C3=A8s writes: > My motivation for writing this patch is that I wanted to continue to use > the settings in the following file after switching to Guix Home. > > https://git.sr.ht/~taiju/taix/tree/31a37c231ebba60e38f7fa9cfe1c7a5d7362d0= 21/item/dotfiles/fontconfig/.config/fontconfig/fonts.conf > > Honestly, I don't know why it is so complicated, but I refered it from > the following ArchWiki content. > > https://wiki.archlinux.org/title/Font_configuration/Examples#Japanese > > Therefore, just being able to set font aliasing is unfortunately not > enough to satisfy my use case. Oh I see. Do you need every single bit from the =E2=80=98fonts.conf=E2=80= =99 file above? Anyway, it does look like your v2 is the way to go, with the obvious caveat that using it is tricky: one needs to know about fontconfig=E2=80=99s config file format and about sxml. Maybe we can go with v2 for now (it provides a useful =E2=80=9Cescape hatch= =E2=80=9D) but prepare for more conventional configuration bindings? Thanks, Ludo=E2=80=99.