Re: [dev] [st] libXft-2.3.5 fixed the color emoji crash

From: NRK <nrk_AT_disroot.org>
Date: Thu, 15 Sep 2022 18:07:54 +0600

On Mon, Sep 12, 2022 at 06:52:52PM -0400, Steve Ward wrote:
> https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS
> > Version 2.3.5
> > Add support for BGRA glyphs display and scaling

Seems to be working indeed. How does this impact existing suckless
tools?

ST never had any workarounds regarding this iirc (though the FAQ should
probably be updated). As for DWM/Dmenu - does it make sense to guard the
workaround with an preprocessor version check?

        #if XFT_MAJOR < 2 || XFT_MINOR < 3 || XFT_REVISION < 5
                /* workaround */
        #endif

Just removing the workaround entirely might be an option as well with
the assumption that if someone is running updated dwm/dmenu they should
have an updated libXft as well.

But I suppose there are plently of people that build suckless software
from source but install libraries from distro package manager (which may
be outdated depending on the distro policy).

- NRK

emoji.png
(image/png attachment: emoji.png)

Received on Thu Sep 15 2022 - 14:07:54 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 15 2022 - 14:12:09 CEST