cadsondemak / kanit

Kanit is a Thai + Latin formal sans serif font family with 18 styles
https://cadsondemak.github.io/kanit
SIL Open Font License 1.1
84 stars 25 forks source link

Wrong Nighahit (U+0E4D) & Tones order on Mac OS & Safari #2

Closed sungsit closed 9 years ago

sungsit commented 9 years ago

When input Consonants+Tone+SaraAm (U+0E33) sequence the font should display as Consonants+Nighahit+Tone+SaraAA (U+0E32). That means you need to swap Nighahit & Tones positions.

screen shot 2558-11-09 at 8 03 49 pm

I believe this is CoreText’s bug only because it can’t handle contextual chaining feature well but as installable fonts, it is critical for Thai eyes and need to be fixed.

Other families also have the same problem.

davelab6 commented 9 years ago

@sungsit do you know of any font that have fixed this?

davelab6 commented 9 years ago

@sungsit can you confirm that this occurs in web browsers?

sungsit commented 9 years ago

Yes, I can confirm. It's CoreText's bug, even Tahoma have this problem on Mac OS & Safari. I've discussed with @suppakit- here http://www.f0nt.com/forum/index.php/topic,22875.0.html

sungsit commented 9 years ago

TLWG fonts have no problem with this http://linux.thai.net/projects/fonts-tlwg. I'm trying to patch Kanit GSUB features with TLWG method. I'll push to my fork when ready.

sungsit commented 9 years ago

To be clear, Chrome, FireFox & Opera have no problem with this on Mac because of HarfBuzz.