INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Please fix bug about overlap of thai character  (Read 13839 times)

NNTK

  • World Citizen
  • ***
  • Posts: 109
Please fix bug about overlap of thai character
« 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)

I used to post about this bug in 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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Please fix bug about overlap of thai character
« Reply #1 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 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.
Logged
Matt Ashland, JRiver Media Center

NNTK

  • World Citizen
  • ***
  • Posts: 109
Re: Please fix bug about overlap of thai character
« Reply #2 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.
Logged
Pages: [1]   Go Up