aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Pluim2020-01-24 10:37:59 +0100
committerRobert Pluim2020-01-24 10:46:00 +0100
commit1ebe1605775c0f273957c1541d5b526bb70f7cfb (patch)
tree4825d50c0f37ec8f552025aef1f35ed0cf98ac0d
parent75c1f936fcff109e19be4abdcddd9fa2204fabca (diff)
downloademacs-1ebe1605775c0f273957c1541d5b526bb70f7cfb.tar.gz
emacs-1ebe1605775c0f273957c1541d5b526bb70f7cfb.zip
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.
-rw-r--r--configure.ac14
-rw-r--r--etc/NEWS13
2 files changed, 27 insertions, 0 deletions
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'.])
5891 esac 5891 esac
5892fi 5892fi
5893 5893
5894if test "${HAVE_XFT}" = yes; then
5895AC_MSG_WARN([This configuration uses libXft,
5896 which has a number of font rendering issues, and is being considered for
5897 removal in the next release of Emacs. Please consider using Cairo + HarfBuzz
5898 instead (they are auto-detected if the relevant development headers are
5899 installed).])
5900fi
5901
5902if test "${HAVE_CAIRO}" = "yes" && test "${HAVE_HARFBUZZ}" = no; then
5903 AC_MSG_WARN([This configuration uses Cairo, but not HarfBuzz. We
5904 recommend the use of HarfBuzz when using Cairo, please install
5905 HarfBuzz development packages.])
5906fi
5907
5894# Let plain 'make' work. 5908# Let plain 'make' work.
5895test "$MAKE" = make || test -f makefile || cat >makefile <<EOF 5909test "$MAKE" = make || test -f makefile || cat >makefile <<EOF
5896.POSIX: 5910.POSIX:
diff --git a/etc/NEWS b/etc/NEWS
index 764eda56a1a..e821a3e95cf 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -42,6 +42,19 @@ We strongly recommend building with HarBuzz support. 'x' is still a
42valid backend. 42valid backend.
43 43
44--- 44---
45** 'configure' now warns about building with libXft support.
46libXft is unmaintained, and causes a number of problems with modern
47fonts including but not limited to crashes; support for it may be
48removed in a future version of Emacs. Please consider using
49Cairo + HarfBuzz instead.
50
51---
52** 'configure' now warns about not using HarfBuzz if using Cairo.
53We want to encourage people to use the most modern font features
54available, and this is Cairo + HarfBuzz, so 'configure' now recommends
55that combination.
56
57---
45** The ftx font backend driver has been removed. 58** The ftx font backend driver has been removed.
46It was declared obsolete in Emacs 27.1. 59It was declared obsolete in Emacs 27.1.
47 60