[FriBidi] Fribidi not returning the correct number of characters
Khaled Hosny
dr.khaled.hosny at gmail.com
Sat Dec 28 15:45:03 UTC 2019
> On Dec 27, 2019, at 1:59 PM, Kuntal Majumder <hellozee at disroot.org> wrote:
>
> On Friday, 27 December, 2019 4:43:50 PM IST Khaled Hosny wrote:
>> The length argument should be the length of the input string i.e. the
>> number of UTF-8 bytes, not the number of Unicode code points.
> Ahh, my bad, I knew I was doing something wrong, thanks for helping me out.
>
> Btw, the `libraqm` docs say "the length of text.", isn't this a little bit
> misleading.
“text” here refers to the name of the preceding argument, that is why it is rendered in monospace in th HTML documentation[1]. This might be a bit subtle and I’m open to suggestions for improving it.
Regards,
Khaled
1. http://host-oman.github.io/libraqm/raqm-Raqm.html#raqm-set-text-utf8
More information about the fribidi
mailing list