Subject: bug#59122: 29.0.50; global-text-scale-adjust not working

From: Robert Pluim <[email-masked]>
Date: Wed, 09 Nov 2022 15:48:01 +0100

>>>>> On Wed, 9 Nov 2022 15:43:05 +0100, Stefan Kangas <[email-masked]> 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
--