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

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Fri, 03 Jun 2016 15:06:23 +0200

Greetings.

On Fri, 03 Jun 2016 15:06:23 +0200 Amer <amerlyq_AT_gmail.com> wrote:
> 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.
>
> st/config.def.h
> static char font[] = "monospace-9.6";
>
> ~/.config/fontconfig/fonts.conf
> ...
> <alias>
> <family>monospace</family>
> <prefer>
> <family>Source Code Pro</family>
> <family>DejaVu Sans Mono</family>
> <family>Symbola</family>
> </prefer>
> </alias>
> ...
>
> 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:

Your Fontconfig is not correct. It works here on Gentoo and a pretty
complex fontconfig. If you need the applied configurations, call back.


Sincerely,

Christoph Lohmann
Received on Fri Jun 03 2016 - 15:06:23 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 03 2016 - 15:24:23 CEST