From 1ebe1605775c0f273957c1541d5b526bb70f7cfb Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 24 Jan 2020 10:37:59 +0100 Subject: [PATCH] Warn about XFT and about Cairo without HarfBuzz * configure.ac: Warn about libXFT usage. Warn about using Cairo without HarfBuzz. * etc/NEWS: Announce XFT and HarfBuzz warnings. --- configure.ac | 14 ++++++++++++++ etc/NEWS | 13 +++++++++++++ 2 files changed, 27 insertions(+) diff --git a/configure.ac b/configure.ac index d7b4d0352cc..932142d813a 100644 --- a/configure.ac +++ b/configure.ac @@ -5891,6 +5891,20 @@ you can continue to support by using '$0 --with-pop'.]) esac fi +if test "${HAVE_XFT}" = yes; then +AC_MSG_WARN([This configuration uses libXft, + which has a number of font rendering issues, and is being considered for + removal in the next release of Emacs. Please consider using Cairo + HarfBuzz + instead (they are auto-detected if the relevant development headers are + installed).]) +fi + +if test "${HAVE_CAIRO}" = "yes" && test "${HAVE_HARFBUZZ}" = no; then + AC_MSG_WARN([This configuration uses Cairo, but not HarfBuzz. We + recommend the use of HarfBuzz when using Cairo, please install + HarfBuzz development packages.]) +fi + # Let plain 'make' work. test "$MAKE" = make || test -f makefile || cat >makefile <