emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-27 7ec66a5: Document spacing issues with Xft for some fonts


From: Robert Pluim
Subject: Re: emacs-27 7ec66a5: Document spacing issues with Xft for some fonts
Date: Tue, 14 Jan 2020 11:45:28 +0100

Eli, is it too soon for this?

diff --git a/configure.ac b/configure.ac
index 592d745797..73d4c52e8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5898,6 +5898,15 @@ m4_define
   esac
 fi
 
+if test "$with_xft" = yes; then
+AC_MSG_WARN([This configuration is compiled to use libXft,
+which has a number of font rendering issues, and is scheduled for
+removal in the next release of Emacs.  Please consider using cairo
+instead (cairo is auto-detected if cairo development headers are
+installed).])
+
+fi
+
 # Let plain 'make' work.
 test "$MAKE" = make || test -f makefile || cat >makefile <<EOF
 .POSIX:
diff --git a/etc/NEWS b/etc/NEWS
index d5a1d27267..60e1ddf25a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -28,6 +28,10 @@ applies, and please also update docstrings as needed.
 '--with-cairo' is now the default, if the appropriate development files
 are found by 'configure'
 
+** Configure now warns if using libXft.
+XFT support is scheduled for removal in emacs-29, so configure now
+warns about it and suggests cairo instead.
+
 
 * Startup Changes in Emacs 28.1
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]