From: Robert Pluim Date: Fri, 24 Jan 2020 09:37:59 +0000 (+0100) Subject: Warn about XFT and about Cairo without HarfBuzz X-Git-Tag: emacs-28.0.90~7908^2~62 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1ebe1605775c0f273957c1541d5b526bb70f7cfb;p=emacs.git 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. --- 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 <