diff options
| author | Robert Pluim | 2020-01-24 10:37:59 +0100 |
|---|---|---|
| committer | Robert Pluim | 2020-01-24 10:46:00 +0100 |
| commit | 1ebe1605775c0f273957c1541d5b526bb70f7cfb (patch) | |
| tree | 4825d50c0f37ec8f552025aef1f35ed0cf98ac0d | |
| parent | 75c1f936fcff109e19be4abdcddd9fa2204fabca (diff) | |
| download | emacs-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.ac | 14 | ||||
| -rw-r--r-- | etc/NEWS | 13 |
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 |
| 5892 | fi | 5892 | fi |
| 5893 | 5893 | ||
| 5894 | if test "${HAVE_XFT}" = yes; then | ||
| 5895 | AC_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).]) | ||
| 5900 | fi | ||
| 5901 | |||
| 5902 | if 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.]) | ||
| 5906 | fi | ||
| 5907 | |||
| 5894 | # Let plain 'make' work. | 5908 | # Let plain 'make' work. |
| 5895 | test "$MAKE" = make || test -f makefile || cat >makefile <<EOF | 5909 | test "$MAKE" = make || test -f makefile || cat >makefile <<EOF |
| 5896 | .POSIX: | 5910 | .POSIX: |
| @@ -42,6 +42,19 @@ We strongly recommend building with HarBuzz support. 'x' is still a | |||
| 42 | valid backend. | 42 | valid backend. |
| 43 | 43 | ||
| 44 | --- | 44 | --- |
| 45 | ** 'configure' now warns about building with libXft support. | ||
| 46 | libXft is unmaintained, and causes a number of problems with modern | ||
| 47 | fonts including but not limited to crashes; support for it may be | ||
| 48 | removed in a future version of Emacs. Please consider using | ||
| 49 | Cairo + HarfBuzz instead. | ||
| 50 | |||
| 51 | --- | ||
| 52 | ** 'configure' now warns about not using HarfBuzz if using Cairo. | ||
| 53 | We want to encourage people to use the most modern font features | ||
| 54 | available, and this is Cairo + HarfBuzz, so 'configure' now recommends | ||
| 55 | that combination. | ||
| 56 | |||
| 57 | --- | ||
| 45 | ** The ftx font backend driver has been removed. | 58 | ** The ftx font backend driver has been removed. |
| 46 | It was declared obsolete in Emacs 27.1. | 59 | It was declared obsolete in Emacs 27.1. |
| 47 | 60 | ||