Re: Bidi paragraph direction in terminal emulators

From: Eli Zaretskii via Unicode <unicode_at_unicode.org>
Date: Sat, 09 Feb 2019 20:07:06 +0200

> Date: Sat, 9 Feb 2019 18:42:52 +0100
> Cc: unicode Unicode Discussion <unicode_at_unicode.org>
> From: Egmont Koblinger via Unicode <unicode_at_unicode.org>
>
> What if harfbuzz tells us that the overall width for rendering a
> particular grapheme cluster is significantly different from its
> designated area (the number of character cells [wcswidth()]
> multiplied by the width of each)?

You need to use what HarfBuzz tells you _instead_ of wcswidth. It is
in general wrong to use wcswidth or anything similar when you use a
shaping engine and support complex script shaping.
Received on Sat Feb 09 2019 - 12:08:05 CST

This archive was generated by hypermail 2.2.0 : Sat Feb 09 2019 - 12:08:05 CST