GNU bug report logs - #53718
29.0.50; Recent change to font hinting in --with-pgtk build

Previous Next

Package: emacs;

Reported by: Protesilaos Stavrou <info <at> protesilaos.com>

Date: Wed, 2 Feb 2022 07:27:01 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53718 in the body.
You can then email your comments to 53718 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53718; Package emacs. (Wed, 02 Feb 2022 07:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Protesilaos Stavrou <info <at> protesilaos.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 02 Feb 2022 07:27:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Protesilaos Stavrou <info <at> protesilaos.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Recent change to font hinting in --with-pgtk build
Date: Wed, 02 Feb 2022 09:26:21 +0200
[Message part 1 (text/plain, inline)]
Dear maintainers,

I built Emacs with commit 02054d9cd1f5c6a5ca3555207235522532477e10 using
--with-pgtk and have noticed that there is a change to the hinting of
the fonts relative to commit d25cb37694de446e6dd1095f489d5436ea9e20ae.

Please refer to the attached screenshots which compare the two commits
using Hack and Source Code Pro, respectively.  The differences are
subtle, though you can see how the 'm' is affected.

The hinting is inconsistent.  Even in this very message.  Notice the
quotes in this 'Hack' with the one below which has a thinner first quote
and thicker second one:

'Hack'

All the best,
Protesilaos

* * *

In GNU Emacs 29.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4)
 of 2022-02-01 built on kronos
Repository revision: 02054d9cd1f5c6a5ca3555207235522532477e10
Repository branch: makepkg
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-sound=alsa --with-modules --without-libotf --without-m17n-flt
 --without-gconf --without-gsettings --with-native-compilation
 --with-xinput2 --with-pgtk --without-xaw3d --with-sound=no
 --without-gpm --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LCMS2
LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG
RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZLIB

-- 
Protesilaos Stavrou
https://protesilaos.com
[hack-emacs-commit-02054d9cd1f5c6a5ca3555207235522532477e10.png (image/png, attachment)]
[hack-emacs-commit-d25cb37694de446e6dd1095f489d5436ea9e20ae.png (image/png, attachment)]
[source-code-pro-emacs-commit-02054d9cd1f5c6a5ca3555207235522532477e10.png (image/png, attachment)]
[source-code-pro-emacs-commit-d25cb37694de446e6dd1095f489d5436ea9e20ae.png (image/png, attachment)]
[inconsistent-hinting-quotes.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53718; Package emacs. (Wed, 02 Feb 2022 10:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 53718 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: 53718 <at> debbugs.gnu.org
Subject: Re: bug#53718: 29.0.50; Recent change to font hinting in
 --with-pgtk build
Date: Wed, 02 Feb 2022 18:35:45 +0800
Protesilaos Stavrou <info <at> protesilaos.com> writes:

> Dear maintainers,
>
> I built Emacs with commit 02054d9cd1f5c6a5ca3555207235522532477e10 using
> --with-pgtk and have noticed that there is a change to the hinting of
> the fonts relative to commit d25cb37694de446e6dd1095f489d5436ea9e20ae.
>
> Please refer to the attached screenshots which compare the two commits
> using Hack and Source Code Pro, respectively.  The differences are
> subtle, though you can see how the 'm' is affected.
>
> The hinting is inconsistent.  Even in this very message.  Notice the
> quotes in this 'Hack' with the one below which has a thinner first quote
> and thicker second one:
>
> 'Hack'
>
> All the best,
> Protesilaos

Thanks for reporting the bug.  Could it be a problem with your system?

Can you reproduce the problem with an X11 build with Cairo drawing?
Running configure without any arguments should produce such a build on
your system.

And please try bisecting to find exactly which commit caused the
problem.




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 08 Jun 2022 07:23:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53718; Package emacs. (Wed, 06 Jul 2022 11:44:01 GMT) Full text and rfc822 format available.

Message #13 received at 53718 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Protesilaos Stavrou <info <at> protesilaos.com>, 53718 <at> debbugs.gnu.org
Subject: Re: bug#53718: 29.0.50; Recent change to font hinting in
 --with-pgtk build
Date: Wed, 06 Jul 2022 13:42:56 +0200
Po Lu <luangruo <at> yahoo.com> writes:

> Can you reproduce the problem with an X11 build with Cairo drawing?
> Running configure without any arguments should produce such a build on
> your system.
>
> And please try bisecting to find exactly which commit caused the
> problem.

This was several months ago -- Prot, are you still seeing this problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53718; Package emacs. (Wed, 06 Jul 2022 12:05:02 GMT) Full text and rfc822 format available.

Message #16 received at 53718 <at> debbugs.gnu.org (full text, mbox):

From: Protesilaos Stavrou <info <at> protesilaos.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Po Lu <luangruo <at> yahoo.com>
Cc: 53718 <at> debbugs.gnu.org
Subject: Re: bug#53718: 29.0.50; Recent change to font hinting in
 --with-pgtk build
Date: Wed, 06 Jul 2022 15:04:00 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Wed, 06 Jul 2022 13:42:56 +0200
>
> Po Lu <luangruo <at> yahoo.com> writes:
>
>> Can you reproduce the problem with an X11 build with Cairo drawing?
>> Running configure without any arguments should produce such a build on
>> your system.
>>
>> And please try bisecting to find exactly which commit caused the
>> problem.
>
> This was several months ago -- Prot, are you still seeing this problem?

Hi Lars and Po,

Just rebuilt --with-pgtk.  Everything looks good.

All the best,
Prot

-- 
Protesilaos Stavrou
https://protesilaos.com




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53718; Package emacs. (Wed, 06 Jul 2022 12:23:02 GMT) Full text and rfc822 format available.

Message #19 received at 53718 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: Po Lu <luangruo <at> yahoo.com>, 53718 <at> debbugs.gnu.org
Subject: Re: bug#53718: 29.0.50; Recent change to font hinting in
 --with-pgtk build
Date: Wed, 06 Jul 2022 14:22:23 +0200
Protesilaos Stavrou <info <at> protesilaos.com> writes:

> Just rebuilt --with-pgtk.  Everything looks good.

Thanks for checking; I'm closing this bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 53718 <at> debbugs.gnu.org and Protesilaos Stavrou <info <at> protesilaos.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 06 Jul 2022 12:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 04 Aug 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.