INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: NNTK on September 22, 2013, 04:27:29 am

Title: Please fix bug about overlap of thai character
Post by: NNTK on September 22, 2013, 04:27:29 am
Please add more behind space for this character 'ำ' in Unicode U+0E33 (I see in http://www.utf8-chartable.de/unicode-utf8-table.pl (http://www.utf8-chartable.de/unicode-utf8-table.pl))

I used to post about this bug in http://yabb.jriver.com/interact/index.php?topic=77949 (http://yabb.jriver.com/interact/index.php?topic=77949) at that moment i understand this bug only for ass/ssa sub.
But I just see this bug is all in JRiver(interface, text). This bug is in jriver version 18, 19 (except v17).

Sorry for my English.
Title: Re: Please fix bug about overlap of thai character
Post by: Matt on September 23, 2013, 11:51:47 am
Thanks for the sample.

Next build:
Fixed: Thai text (and possibly others) could draw with incorrect character spacing.

I'm a little confused because the answer returned by GetCharABCWidths (http://msdn.microsoft.com/en-us/library/windows/desktop/dd144857(v=vs.85).aspx) seems to just be wrong for Thai characters.  Maybe it expects some extra layer of Unicode translation, but I'm not sure.  In any event, it looks like using GetTextExtentPoint32(...) instead will work so we'll just switch to it.

Feedback appreciated once the next build is public.
Title: Re: Please fix bug about overlap of thai character
Post by: NNTK on September 23, 2013, 10:14:25 pm
Thank you very much. ^^
I test in 19.0.45, it very good all interface and subtitle.