Re: [hackers] [PATCH 1/1] Add support for user-defined fallback fonts

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Tue, 3 Sep 2024 18:55:23 -0700

On Tue, Sep 03, 2024 at 02:55:48PM +0200, Storkman wrote:
> You could also override it in your FontConfig font config, if you have
> the patience to deal with the syntax...
>
> <match><test name="prgname"><string>st</string></test>
> <edit name="family" mode="delete_all"/>
> <edit name="family" mode="append"><string>Input Sans</string></edit>
> <edit name="family" mode="append"><string>Sarasa Term J</string></edit>
> <edit name="family" mode="append"><string>Unifont</string></edit>
> <edit name="pixelsize" mode="assign"><int>13</int></edit>
> </match>

Thanks for pointing this out. I didn't know about prgname name. It looks
like this was added in 2013, so it didn't exist when I last tried to
configure fonts on a per-application basis using fonts.conf, and I
haven't followed fontconfig development in the years since.

Eric
Received on Wed Sep 04 2024 - 03:55:23 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 05 2024 - 01:24:36 CEST