Re: [dev] [st][PATCH] Use XftFontMatch in place of FcFontMatch.

From: Amer <>
Date: Sat, 28 May 2016 03:08:48 +0300

Hi Mark,

After applying your patch, fontconfig fallbacks don't work for me
anymore. Only first/main font is scaled, and all consequent aren't.

    static char font[] = "monospace-9.6";

            <family>Source Code Pro</family>
            <family>DejaVu Sans Mono</family>

Therefore most of symbols, all asian widechar and bold non-ascii
flavours are microscopical small on HiDPI being not scaled at all.
(I suppose this difference will be rather imperceptible on non-HiDPI)

Maybe, my fontconfig isn't truly correct, as I experienced some
other intermittent bugs with st fonts.
After all I used somewhat messed guide from:

Therefore check aforementioned cases on your setup, please.
And ascertain if relative size for fallback works or not.

On Mon, May 09, 2016 at 10:11:26AM +0200, Mark Edgar wrote:
> This change allows st to correctly render fonts given in point sizes,
> bringing its behavior in line with other software: dwm, dmenu, tabbed,
> etc:
> FC_DEBUG=1 st -f Terminus:size=10
> -Mark
Received on Sat May 28 2016 - 02:08:48 CEST

This archive was generated by hypermail 2.3.0 : Sat May 28 2016 - 02:12:09 CEST