GNU bug report logs - #33232
`gnus-summary-line-format' padding doesn’t work in gui when there are multiple-column-width characters

Previous Next

Packages: emacs, gnus;

Reported by: "Garreau\, Alexandre" <galex-713 <at> galex-713.eu>

Date: Thu, 1 Nov 2018 21:59:02 UTC

Severity: minor

Tags: wontfix

Merged with 19872

Found in versions 24.4, 5.13, 5.130014

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: Eli Zaretskii <eliz <at> gnu.org>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 33232 <at> debbugs.gnu.org
Subject: bug#33232: `gnus-summary-line-format' padding doesn’t work in gui when there are multiple-column-width characters
Date: Fri, 02 Nov 2018 08:42:06 +0200
> From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
> Date: Thu, 01 Nov 2018 15:52:14 -0700
> 
> Someone just reported something similar on the org list, that
> `string-width' doesn't return the actual width occupied by the string,
> which you'd think would be the whole point.

string-width does the best job it can, but you cannot hope to get
exact results when using variable-width fonts.  What string-width
returns should be correct on TTY frames, and only an approximation of
GUI frames, when you mix scripts and thus fonts in the same string.

For pixel-level accuracy on display, you must use display 'space' and
'align' properties.




This bug report was last modified 5 years and 329 days ago.

Previous Next


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