GNU bug report logs - #59122
29.0.50; global-text-scale-adjust not working on macOS

Previous Next

Package: emacs;

Reported by: Rudolf Adamkovič <salutis <at> me.com>

Date: Tue, 8 Nov 2022 12:30:02 UTC

Severity: normal

Found in version 29.0.50

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: salutis <at> me.com, 59122 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: bug#59122: 29.0.50; global-text-scale-adjust not working
Date: Wed, 09 Nov 2022 18:53:19 +0200
> Date: Wed, 09 Nov 2022 16:01:04 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: 59122 <at> debbugs.gnu.org, salutis <at> me.com, stefankangas <at> gmail.com
> 
> It's because of rounding.  Face heights on macOS are multiples of 10 (100 
> for 10.0 pt, 110 for 11.0 pt, ...).  Setting the face height to 105 
> actually sets it to 110.
> 
> So I think what we should do here is to check, after set-face-attribute, 
> whether the face height has actually changed, and if not try again with a 
> bigger increment.

Yes, SGTM.




This bug report was last modified 2 years and 236 days ago.

Previous Next


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