unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "R. Diez" <rdiezmail-emacs@yahoo.de>
To: help-gnu-emacs@gnu.org
Subject: Configure script not picking up XFT for "anti aliased fonts"
Date: Fri, 14 Aug 2020 21:23:27 +0200	[thread overview]
Message-ID: <c81deb38-241a-5b76-be49-56ca67b96ac4@yahoo.de> (raw)
In-Reply-To: c81deb38-241a-5b76-be49-56ca67b96ac4.ref@yahoo.de

Hi all:

I am upgrading to Emacs 27.1 on two similar PCs with Ubuntu 18.04.5 LTS.

On one of them, the configure script says (I added some empty lines):

   checking for fontconfig >= 2.2.0... yes

   checking for xft >= 0.13.0... yes
   checking for X11/Xft/Xft.h... yes
   checking for XftFontOpen in -lXft... yes
   checking for freetype2... yes

   checking for FT_Face_GetCharVariantIndex... yes

   [...]

   Does Emacs use -lxft?    yes


On the other computer, the xft lines in the middle are just missing:

   checking for fontconfig >= 2.2.0... yes

   checking for FT_Face_GetCharVariantIndex... yes

   [...]

   Does Emacs use -lxft?      no

I do not really know if this xft is needed nowadays.

I am configuring with "--with-x-toolkit=gtk3  --with-cairo  --with-xwidgets". All other detected configuration options are the same on both systems.

I tried forcing it by specifying --with-xft , but that does not make any difference. There is no indication about why the configure script is not 
probing for xft.

Both Emacs report the same system-configuration-features:

XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB 
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER LCMS2 GMP

There is no visible difference. The fonts look the same as before with Emacs 26.2 on both systems.

I searched for the Ubuntu/Debian package that provides Xft.h, and it is libxft-dev , which was already installed on the computer that is not picking 
up -lxft .

Can somebody shed some light on this?

Thanks in advance,
   rdiez



       reply	other threads:[~2020-08-14 19:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c81deb38-241a-5b76-be49-56ca67b96ac4.ref@yahoo.de>
2020-08-14 19:23 ` R. Diez [this message]
2020-08-14 19:29   ` Configure script not picking up XFT for "anti aliased fonts" Eli Zaretskii
2020-08-15 11:02     ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c81deb38-241a-5b76-be49-56ca67b96ac4@yahoo.de \
    --to=rdiezmail-emacs@yahoo.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).