GNU bug report logs - #52142
28.0.60; `posn-object-width-height' does not reflect actual dimensions of object when confronted by display string

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Sat, 27 Nov 2021 12:01:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.60

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 52142 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 52142 <at> debbugs.gnu.org
Subject: Re: bug#52142: 28.0.60; `posn-object-width-height' does not reflect
 actual dimensions of object when confronted by display string
Date: Sat, 27 Nov 2021 15:27:32 +0200
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: 52142-done <at> debbugs.gnu.org
> Date: Sat, 27 Nov 2021 21:12:55 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Thanks, fixed.
> 
> I think it's OK to close this bug now then.
> 
> > Did you try window-text-pixel-size?
> 
> No, for whatever reason I assumed it would not work for text displayed
> this way.

window-text-pixel-size is actually supposed to work in more cases than
posn-at-point, since it doesn't require the text to be visible (or
even displayed).




This bug report was last modified 3 years and 177 days ago.

Previous Next


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