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

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


Thanks for the patch!

[2019-01-16 21:51] Thomas Spurden <>
> 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.


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