Subject: Re: bug#49722: 27.2; Emacs won't build with old versions of fontconfig

From: Andrei Kuznetsov <[email-masked]>
Date: Sun, 25 Jul 2021 08:53:59 +0800

Eli Zaretskii <[email-masked]> writes:

> Thanks, but please show the error messages you saw before applying
> that patch.

xftfont.c: In function ‘xftfont_cached_font_ok’:
xftfont.c:591: error: ‘FC_LCD_FILTER’ undeclared (first use in this function)
xftfont.c:591: error: (Each undeclared identifier is reported only once
xftfont.c:591: error: for each function it appears in.)

It appears that FC_LCD_FILTER is not present on these older versions of
fontconfig.