Subject: Re: bug#47712: 27.1; Provide `string-display-width` function, which takes properties into account, `substring-width`

From: Eli Zaretskii <[email-masked]>
Date: Mon, 12 Apr 2021 05:26:41 +0300

> From: Daniel Mendler <[email-masked]>
> Date: Sun, 11 Apr 2021 23:16:13 +0200
> 
> Provide a `string-display-width' function, which computes the
> `string-width', but takes invisible display properties into account.
> This function is often needed by packages.

We already have window-text-pixel-size; doesn't it fit the bill?  If
not, why not?