mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-16 09:50:25 +00:00
Fix compilation of xftfont.c with old fontconfig
* src/xftfont.c (FC_LCD_FILTER): Define if undefined, for older versions of fontconfig. This was mistakenly deleted 2 years ago. (Bug#49722)
This commit is contained in:
parent
41e62df73a
commit
41a55a330f
@ -33,6 +33,12 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
||||
#include "ftfont.h"
|
||||
#include "pdumper.h"
|
||||
|
||||
#ifndef FC_LCD_FILTER
|
||||
/* Older fontconfig versions don't have FC_LCD_FILTER. */
|
||||
# define FC_LCD_FILTER "lcdfilter"
|
||||
#endif
|
||||
|
||||
|
||||
/* Xft font driver. */
|
||||
|
||||
/* Structure pointed by (struct face *)->extra */
|
||||
|
Loading…
Reference in New Issue
Block a user