guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57963] [PATCH 0/1] Support user's fontconfig.


From: Taiju HIGASHI
Subject: [bug#57963] [PATCH 0/1] Support user's fontconfig.
Date: Thu, 20 Oct 2022 10:37:29 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

Hi Declan,

Declan Tsien <declantsien@riseup.net> writes:

> Taiju HIGASHI <higashi@taiju.info> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]