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

From: Eli Zaretskii <[email-masked]>
Date: Sat, 27 Nov 2021 15:27:32 +0200

> From: Po Lu <[email-masked]>
> Cc: [email-masked]
> Date: Sat, 27 Nov 2021 21:12:55 +0800
> 
> Eli Zaretskii <[email-masked]> 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).