Re: [hackers] [libsl][PATCH] Workaround Xft BadLength X error

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Fri, 18 Jan 2019 21:51:55 +0100

Hi

Thanks for the patch!

[2019-01-16 21:51] Thomas Spurden <thomas_AT_spurden.name>
> Modify the fontconfig pattern to prefer non-color fonts, and discard any
> selected font which has the color flag set. Using these fonts with Xft is just
> going to generate a BadLength X error.
>
> ---
> drw.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)

I have tested the patch and it works for me.

Ignoring fonts that contain colour emoji seems to me like the best way
to handle this unfortunate situation.

Just a week or two ago dwm crashed on me because of some stupid colour
emoji so your patch comes just in time. I will run dwm with the patch
applied for a while just to see if I encounter any issues even though
I don't expect to.


Cheers,

Silvan
Received on Fri Jan 18 2019 - 21:51:55 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 18 2019 - 22:00:20 CET