--- Begin Message ---
Subject: |
28.0.60; `posn-object-width-height' does not reflect actual dimensions of object when confronted by display string |
Date: |
Sat, 27 Nov 2021 20:00:17 +0800 |
In Emacs -Q, run M-x report-emacs-bug RET, move point to the message
intended for novices (This bug report will be sent to the Bug-GNU-Emacs
mailing list ...), and then evaluate (posn-at-point) there.
The posn-object of the position list will be the display string
containing the entire message, but the posn-object-width-height will
contain the dimensions of the first character of the message, in this
case "T".
Thanks.
--- End Message ---
--- Begin Message ---
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 21:12:55 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Eli Zaretskii <eliz@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. I will try it.
Thanks.
--- End Message ---