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


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 59122 <at> debbugs.gnu.org, Gregory Heytings <gregory <at> heytings.org>,
 Rudolf Adamkovič <salutis <at> me.com>
Subject: Re: bug#59122: 29.0.50; global-text-scale-adjust not working
Date: Wed, 9 Nov 2022 15:43:05 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> >>>>> On Wed, 9 Nov 2022 15:30:15 +0100, Stefan Kangas <stefankangas <at> gmail.com> said:
>     Stefan> With
>
>     Stefan> (set-face-attribute 'default nil :height (- (face-attribute 'default
>     Stefan> :height) 6))
>
>     Stefan> the font size is decreased.  If I evaluate it more than once, the font
>     Stefan> size decreases more with each additional invocation.
>
> But it actually decreases by 10, right? (and similarly for increases)

It would seem so:

(cons (face-attribute 'default :height)
      (progn
    (set-face-attribute 'default nil
                :height (- (face-attribute 'default :height) 6))
    (face-attribute 'default :height)))
=> (120 . 110)

With 'global-text-scale-adjust', in a fresh emacs -Q, I see that:

(cons (face-attribute 'default :height)
      (progn
    (global-text-scale-adjust 1)
    (face-attribute 'default :height)))
=> (120 . 130)




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.