C++ Logo

sg16

Advanced search

Re: ICU enhancement request: Support for estimating the monospace display width of a sequence of EGCs in a terminal or console

From: Corentin Jabot <corentinjabot_at_[hidden]>
Date: Thu, 20 Apr 2023 21:51:11 +0200
On Thu, Apr 20, 2023 at 9:19 PM Tom Honermann via SG16 <
sg16_at_[hidden]> wrote:

> Some members of the Unicode Consortium appear to have been doing some work
> in this area. The following paper was recently added to the UTC document
> register <https://www.unicode.org/L2/L-curdoc.htm>.
>
> - L2/23-107 <https://www.unicode.org/L2/L2023/23107-terminal-suppt.pdf>:
> Proper Complex Script Support in Text Terminals
>
> Excellent news !


> Those interested in std::format and formatting textual displays might
> also find Will McGugan <https://www.willmcgugan.com/>'s work on Rich
> <https://github.com/Textualize/rich> interesting. Rich is a Python
> library for text formatting. (I'm guessing Victor is aware of it and I
> wouldn't be surprised to hear that there has already been some
> cross-pollination of ideas).
>
> Tom.
> On 4/3/23 12:22 AM, Tom Honermann via SG16 wrote:
>
> The adoption of P2675 (LWG3780: The Paper: format's width estimation is
> too approximate and not forward compatible) <https://wg21.link/p2675>
> prompted me to file an enhancement request for ICU to consider providing an
> interface to query EGC display width for monospace applications.
>
> - ICU-22344 <https://unicode-org.atlassian.net/browse/ICU-22344>:
> Support for estimating the monospace display width of a sequence of EGCs in
> a terminal or console
>
> Please feel free to take a look and offer corrections or additional
> comments.
>
> Tom.
>
> --
> SG16 mailing list
> SG16_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg16
>

Received on 2023-04-20 19:51:25