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: Robert Pluim <rpluim <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 59122 <at> debbugs.gnu.org, Gregory Heytings <gregory <at> heytings.org>, Rudolf Adamkovič <salutis <at> me.com>
Subject: bug#59122: 29.0.50; global-text-scale-adjust not working
Date: Wed, 09 Nov 2022 15:48:01 +0100
>>>>> On Wed, 9 Nov 2022 15:43:05 +0100, Stefan Kangas <stefankangas <at> gmail.com> said:
    >> But it actually decreases by 10, right? (and similarly for increases)

    Stefan> It would seem so:

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

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

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

And on my X build it goes

181 -> 173 -> 166

and

181 -> 188 -> 196

(using 5 or 6 as the adjustment makes no difference to the sequence on
X for me)

Robert
-- 




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

Previous Next


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