[HarfBuzz] Thai text render issue in Android L

Roozbeh Pournader roozbeh at google.com
Tue Nov 11 13:56:32 PST 2014


My mistake. This is intentional.

Basically, the grapheme cluster would go too deep for Android, so Noto Sans
Thai UI pushes the SARA UU to the left so it can show something instead of
making SARA UU disappear.

Attaching renderings of the string from Noto Sans Thai and Noto Sans Thai
UI.

So this is WAI.

On Tue, Nov 11, 2014 at 11:00 AM, Roozbeh Pournader <roozbeh at google.com>
wrote:

> With the latest HarfBuzz and Noto Sans Thai, I'm seeing the result I'm
> attaching, which appears correct to me (and the same as Android Kitkat
> result you've attached).
>
> But I see the same as what you are seeing on Android Lollipop. So this
> appears to be a bug somewhere in Android rather than HarfBuzz or Noto Sans.
>
> Please file a bug at https://source.android.com/source/report-bugs.html
> and send us a link to it. Thanks.
>
> On Tue, Nov 11, 2014 at 8:59 AM, Ed Trager <ed.trager at gmail.com> wrote:
>
>> Hi,
>>
>> To the best of my knowledge, it seems extremely unlikely that U+0E0E THAI
>> CHARACTER DO CHADA would have U+0E39 THAI CHARACTER SARA UU ( or U+0E38
>> THAI CHARACTER SARA U for that matter ) appear below it.
>>
>> I can't think of any Central Thai words that would have that kind of
>> spelling; and it seems even more unlikely that any of the minority
>> languages would use DO CHADA at all.
>>
>> Therefore, it seems very likely that the font designers did not specify
>> an anchoring position point for SARA U or SARA UU appearing below
>> consonants such as DO CHADA or U+0E0F THAI CHARACTER TO PATAK.
>>
>> - Ed
>>
>>
>> On Mon, Nov 10, 2014 at 10:16 PM, Nguyễn Đức An <annd1985 at gmail.com>
>> wrote:
>>
>>> Dear Harfbuzz developers,
>>> We have an issue with Thai text render in Android L. When input U+0E0E
>>> and U+0E39, it displays wrong (please see the attach screen).
>>> I checked Thai Noto font (Google font) and Samsung Thai (Samsung font),
>>> issue happens with both of them.
>>> As i read the source of Harfbuzz, Thai reshaping only does separate SARA
>>> AM to NIKHAHIT & SARAA. So maybe the problem is not came from Harfbuzz.
>>> Any help is welcome.
>>> Thank you.
>>>
>>> _______________________________________________
>>> HarfBuzz mailing list
>>> HarfBuzz at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>>>
>>>
>>
>> _______________________________________________
>> HarfBuzz mailing list
>> HarfBuzz at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20141111/f7ed2ba3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noto.png
Type: image/png
Size: 4716 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20141111/f7ed2ba3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noto-ui.png
Type: image/png
Size: 4685 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20141111/f7ed2ba3/attachment-0001.png>


More information about the HarfBuzz mailing list