From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GFnDEbGmUGNhCAAAbAwnHQ (envelope-from ) for ; Thu, 20 Oct 2022 03:38:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OMPoEbGmUGN5RwAA9RJhRA (envelope-from ) for ; Thu, 20 Oct 2022 03:38:57 +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 EAAAF41890 for ; Thu, 20 Oct 2022 03:38:56 +0200 (CEST) Received: from localhost ([::1]:46138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olKWO-0001Fy-5Y for larch@yhetil.org; Wed, 19 Oct 2022 21:38:56 -0400 Received: from [::1] (port=42488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olKVe-0000yd-JL for larch@yhetil.org; Wed, 19 Oct 2022 21:38:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olKVX-0000yN-Kt for guix-patches@gnu.org; Wed, 19 Oct 2022 21:38:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olKVW-0001oN-NQ for guix-patches@gnu.org; Wed, 19 Oct 2022 21:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olKVW-0003ar-IB for guix-patches@gnu.org; Wed, 19 Oct 2022 21:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57963] [PATCH 0/1] Support user's fontconfig. Resent-From: Taiju HIGASHI Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Oct 2022 01:38: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: Declan Tsien Cc: 57963@debbugs.gnu.org, liliana.prikler@gmail.com, Andrew Tropin Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.166622986313789 (code B ref 57963); Thu, 20 Oct 2022 01:38:02 +0000 Received: (at 57963) by debbugs.gnu.org; 20 Oct 2022 01:37:43 +0000 Received: from localhost ([127.0.0.1]:60662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olKVD-0003aL-0g for submit@debbugs.gnu.org; Wed, 19 Oct 2022 21:37:43 -0400 Received: from mail-pj1-f46.google.com ([209.85.216.46]:45046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olKV8-0003a4-QI for 57963@debbugs.gnu.org; Wed, 19 Oct 2022 21:37:41 -0400 Received: by mail-pj1-f46.google.com with SMTP id t10-20020a17090a4e4a00b0020af4bcae10so1618090pjl.3 for <57963@debbugs.gnu.org>; Wed, 19 Oct 2022 18:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taiju-info.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Vo5WP1K/gNUnyvCIll1BqZMjF4TFOBbRYL3IuAcLRI0=; b=8KJsND4NkxzjYIbSJK7nQhKMukpiZ56RnJ35d9YDn8MH+B5ncAQlAkJZ7z/35FvDyd 69O/9z0ll73Lhb8DH/nmso3wAayG8JizU/j9YlTCjb1rWBj1D3e7cygHHuOv6FOtfnWy eDeOgkRCZ1uWTLos5eAj/i+DiLqaD1K4EB+fytxZPqKVSwxsWH12ke7TxyZwW6IxF859 bt5byCxVkuDkRRzYQ4SXoBjKvsTirz9thqnUJiyLTqyO/QX750URkLyJnBp4h3ulCt2h ZKLoNhBCPVRDnEwY4mUHwt69yhSRoxjCv3gH9304yq+ZiucMWksh2lTxu/7RIM5Lc10M HrWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Vo5WP1K/gNUnyvCIll1BqZMjF4TFOBbRYL3IuAcLRI0=; b=KWEyp8hyLMnq/PNRXlvT+ZupZ3YIbilh3/KU/kFLq3TRePeGPuNrCJ3lK6a78IOxAt RZ+CdlahWmCCGQMcw4je4XCaMwnBzy1lixIKUqtl2HLgba/7jgxLGuJTXej0/bCaCx4A gAHRAPw1rUpJzLl7KIXm0DoP1/Xe4qc4z+r5adMYVthXafN54A0RgnDtkYcJtQYym4+U ArgcxS+k77dUIGoimLZScta10V+NEuT8zLO2uOUuWSUbOviv8+z9ddM3aO3bjurOl8W0 rZwjHTrdJL+M+fbfiwlLD5z+yUGNh+cQ4R3EmnPmYTamepIa91Hf06vhT5Y3tXo3S49y gN1w== X-Gm-Message-State: ACrzQf3gNfOBN5ZjG14Wppzc/4aamhZFoxBkkpZQf52A2xnyPu29MJ9D Yqrl83ltRChBhRrEJbgVgTWMuw== X-Google-Smtp-Source: AMsMyM4qi4cUJ7X/XpM9nS5M1u7qKUISTn0IR5Xwpxumq5VjMHVxA9otgETmpnHw6VjmgdOLTJUd2Q== X-Received: by 2002:a17:90b:19d0:b0:20b:1d66:8a17 with SMTP id nm16-20020a17090b19d000b0020b1d668a17mr13341675pjb.2.1666229852833; Wed, 19 Oct 2022 18:37:32 -0700 (PDT) Received: from Taix ([240b:253:ec40:2400:b7d1:436e:2d61:e925]) by smtp.gmail.com with ESMTPSA id r27-20020aa79edb000000b005403b8f4bacsm11886425pfq.137.2022.10.19.18.37.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 18:37:32 -0700 (PDT) From: Taiju HIGASHI References: <87k053sxur.fsf@gnu.org> <87zgdzat99.fsf@trop.in> <87zgdxgx0l.fsf@taiju.info> <875ygiqur9.fsf@gnu.org> <87r0z5e23k.fsf@taiju.info> <87czanebhd.fsf@taiju.info> <87o7u7e1ai.fsf@riseup.net> Date: Thu, 20 Oct 2022 10:37:29 +0900 In-Reply-To: <87o7u7e1ai.fsf@riseup.net> (Declan Tsien's message of "Thu, 20 Oct 2022 09:23:01 +0800") Message-ID: <87wn8vcm1y.fsf@taiju.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666229937; 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: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=Vo5WP1K/gNUnyvCIll1BqZMjF4TFOBbRYL3IuAcLRI0=; b=sBao5ifHuDE2lCbRqoXFsdMmrpB60ugSjx5Ooy+N9LCLlrTMq92+cePBEmsJhvGkkJhQRP vItUbvU6xfmspxMGx1NUVGqvOYCYR6W21gQbJvfwmKAIAN/Y7dl/Z3OQF/wgTQrAGX55KU FwRvVoQw5cb0OiUe9QZo9y+DzIodlB59E4HEqM20savuX6M2oZaIEaaY9vRVRkR54T+ThI c3EBv367q+RX4a5n7QA754nHbC/3+bPlXCg8u7RVPMfGpzgxZf+V6FzNzeJUtaO3488VwH Zzv9Q4QXIpWpgTG+JtFQppZknoYTJiP1A9/s7CtGh0cj107SNY0631rAxZnTvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666229937; a=rsa-sha256; cv=none; b=czStM+zSXJ67NZ/y0IBvo6sv0mBEviM7ppz/+9fijwqbfuUq6B516H9fX5wGybgxLbqb6B nKfOn730vmm1e7UPZZaWKq6iYDmqW/yc0GuDQ3Vl3kQJcjB0fY11jDEMPe+CAHl1r8KwlC uWEBXfJJsWOJIBFJnMgr8Qa1NXvhpCNT0qlgu+Pg0fhL7OTf1Uat2DSA8Zurpd6NbPfQ1G uvsJbMkkQm8/oszOD44vL9hoPwPLdG3vEx3ufoZOOzjiRfrW70rkH9+JuzZFLnPOxlFlvf 3s5ikA5xAZgnIW6WmTd4PVx/2QkM/SSeD3mn+fzWVQqMUVAkP20/dxbqiZKQrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=8KJsND4N; dmarc=none; 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: 4.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=8KJsND4N; dmarc=none; 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: EAAAF41890 X-Spam-Score: 4.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1CgmEiNUOVC9 Hi Declan, Declan Tsien writes: > Taiju HIGASHI writes: > >> (default-font-serif-family "Noto Serif CJK JP") >> (default-font-sans-serif-family "Noto Sans Serif CJK JP") >> (default-font-monospace-family "PlemolJP Console") > > Does this take a list as value? Because I have specified some fallback fonts in my configuration. > I directly use sxml to serialize the config file right now. Below is a portion of it. > > It would be great if I could use this home-service without writing extra sxml code once it gets merged. > > #+begin_src scheme > (alias (@ (binding "strong")) > (family "sans-serif") > (prefer > (family "WenQuanYi Micro Hei") > (family "Noto Sans"))) > > (alias (@ (binding "strong")) > (family "monospace") > (prefer > (family "Sarasa Mono CL") > (family "Inconsolata") > (family "Noto Mono"))) > #+end_src > That makes sense. I thought that being able to specify one preferred font would be sufficient, but since actual fontconfig allows multiple specification, I thought it would certainly be better to be able to specify more than one in this setting as well. By the way, should we be able to specify the binding attribute as well? Best Regards, -- Taiju