GNU bug report logs -
#19194
24.4.50; `window-body-width' is not dynamic relative to font size changes
Previous Next
Reported by: Joe Corneli <holtzermann17 <at> gmail.com>
Date: Wed, 26 Nov 2014 13:48:01 UTC
Severity: normal
Tags: notabug
Merged with 20022
Found in versions 24.4.50, 24.4.90
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 19194 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 27 Nov 2014 19:35:38 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: holtzermann17 <at> gmail.com, 19194 <at> debbugs.gnu.org
>
> >> AFAICT this does not change the height of the default face - it affects
> >> how the display engine calculates the height of text when displaying a
> >> buffer current at the time `text-scale-adjust' was called.
> >
> > No, it works via face remapping, see text-scale-mode. IOW, it does
> > change the height of the default face by replacing it with another
> > face.
>
> On a per-buffer basis. The height of the default face is unaffected
> here.
We both talk about the "default face", but mean 2 different things, it
seems. I mean the face that is referenced by 'default'.
> I suppose the display engine applies the scaling lazily, whenever it
> has to retrieve the height of the default face.
The display engine doesn't apply the scaling at all, it just uses the
face and obeys its attributes. text-scale-mode prepares that face,
like this:
(face-remap-add-relative 'default
:height
(expt text-scale-mode-step
text-scale-mode-amount))
This bug report was last modified 3 years and 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.