[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52142: 28.0.60; `posn-object-width-height' does not reflect actual d
From: |
Eli Zaretskii |
Subject: |
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@yahoo.com>
> Cc: 52142-done@debbugs.gnu.org
> Date: Sat, 27 Nov 2021 21:12:55 +0800
>
> 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.
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).