GNU bug report logs - #19194
24.4.50; `window-body-width' is not dynamic relative to font size changes

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: holtzermann17 <at> gmail.com, 19194 <at> debbugs.gnu.org
Subject: bug#19194: 24.4.50; `window-body-width' is not dynamic relative to font size changes
Date: Sat, 20 Dec 2014 17:31:34 +0100
> I actually don't really understand the question.  What does "character
> width" mean when each character has a different width?  Do you (Joe)
> mean you want to know the actual width of each and every character?

The maximum character width.  That's why he proposes to use the width of
an "M" for this.

> If so, what for?

Probably to know how many characters fit into a line.  With a
proportional font.

> In any case, if you do need the width of individual characters, take a
> look at font-get-glyphs (and font-at to get you the font for that).

He wants the width of a default font "M" (where the default fount could
be proportional) filtered by the frame it appears on and the remapping
specified for the buffer the character appears in.

martin




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.