Subject: bug#52676: 28.0.50; [PATCH] Rationalize window-text-pixel-size

From: Eli Zaretskii <[email-masked]>
Date: Tue, 21 Dec 2021 14:12:26 +0200

> From: Po Lu <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Tue, 21 Dec 2021 11:38:42 +0800
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> From: Po Lu <[email-masked]>
> >> Cc: dick <[email-masked]>,  [email-masked]
> >> Date: Tue, 21 Dec 2021 09:36:40 +0800
> >> 
> >> Eli Zaretskii <[email-masked]> writes:
> >> 
> >> > This produces no assertions here (with the current master), if that's
> >> > what you wanted to hear.
> >> 
> >> It fails (for example) when there is a line-prefix, and that code is
> >> slow.
> >
> > Can you show a recipe?
> 
> I didn't write one, but that's precisely the code we had in
> pixel-point-and-height-at-unseen-line at some point, and it didn't work
> with overlays with a before-string, line-prefix and wrap-prefix.

Well, if you or someone else could produce a "emacs -Q" recipe, I'd be
interested to take a look.