diff options
-rw-r--r-- | src/xftfont.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xftfont.c b/src/xftfont.c index f7349316366..d8ad4035481 100644 --- a/src/xftfont.c +++ b/src/xftfont.c @@ -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 */ |