unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Configure script not picking up XFT for "anti aliased fonts"
       [not found] <c81deb38-241a-5b76-be49-56ca67b96ac4.ref@yahoo.de>
@ 2020-08-14 19:23 ` R. Diez
  2020-08-14 19:29   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: R. Diez @ 2020-08-14 19:23 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Configure script not picking up XFT for "anti aliased fonts"
  2020-08-14 19:23 ` Configure script not picking up XFT for "anti aliased fonts" R. Diez
@ 2020-08-14 19:29   ` Eli Zaretskii
  2020-08-15 11:02     ` Robert Pluim
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2020-08-14 19:29 UTC (permalink / raw)
  To: help-gnu-emacs

> From: "R. Diez" <rdiezmail-emacs@yahoo.de>
> Date: Fri, 14 Aug 2020 21:23:27 +0200
> 
> I am configuring with "--with-x-toolkit=gtk3  --with-cairo  --with-xwidgets". All other detected configuration options are the same on both systems.

A build --with-cairo doesn't need xft, so I'm unsure why you are
worried about this.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Configure script not picking up XFT for "anti aliased fonts"
  2020-08-14 19:29   ` Eli Zaretskii
@ 2020-08-15 11:02     ` Robert Pluim
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Pluim @ 2020-08-15 11:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

>>>>> On Fri, 14 Aug 2020 22:29:04 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: "R. Diez" <rdiezmail-emacs@yahoo.de>
    >> Date: Fri, 14 Aug 2020 21:23:27 +0200
    >> 
    >> I am configuring with "--with-x-toolkit=gtk3 --with-cairo
    >> --with-xwidgets". All other detected configuration options are the
    >> same on both systems.

    Eli> A build --with-cairo doesn't need xft, so I'm unsure why you are
    Eli> worried about this.

Iʼm curious as to why a --with-cairo build that finds cairo headers is
even checking for Xft.

Any chance of sending us the two config.log files?

Robert



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-15 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <c81deb38-241a-5b76-be49-56ca67b96ac4.ref@yahoo.de>
2020-08-14 19:23 ` Configure script not picking up XFT for "anti aliased fonts" R. Diez
2020-08-14 19:29   ` Eli Zaretskii
2020-08-15 11:02     ` Robert Pluim

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).