Bug 170438 - ಎಕ್ಸ್‌ಪ್ರೆಸ್ wrong rendering of Kannada text: Coretext issue
Summary: ಎಕ್ಸ್‌ಪ್ರೆಸ್ wrong rendering of Kannada text: Coretext issue
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://www.prajavani.net/news/article...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-03 19:10 PDT by P K
Modified: 2019-08-16 08:45 PDT (History)
3 users (show)

See Also:


Attachments
Left: Chrome(harfbuzz) correct display: Right: Safari (Coretext webkit) incorrect (238.44 KB, image/png)
2017-04-03 19:10 PDT, P K
no flags Details
issue in iOS 10.3.1 (315.12 KB, image/png)
2017-04-04 05:53 PDT, P K
no flags Details
ಮಾರ್ಚ್ Failed, ಆ್ಯಕ್ಷಿಸ್ Failed (211.91 KB, image/png)
2017-09-03 11:54 PDT, P K
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description P K 2017-04-03 19:10:41 PDT
Created attachment 306154 [details]
Left: Chrome(harfbuzz) correct display: Right: Safari (Coretext webkit) incorrect

Safari in Mac OS and iOS displaying word ಎಕ್ಸ್‌ಪ್ರೆಸ್ incorrectly.

This is happening because of consonant conjugate (u+0c95 u+0ccd u+0cb8) is added with a halant (u+0ccd).

Safari is not constituting the consonant conjugate with a halant (ಕ್ಸ್) instead splitting the two consonant with halants.

This is wrong.

Please fix it.
Comment 1 Jon Lee 2017-04-03 22:43:31 PDT
@P K, which versions on Mac and iOS are you testing against?
Comment 2 P K 2017-04-04 05:53:38 PDT
Created attachment 306172 [details]
issue in iOS 10.3.1

mac os sierra 10.12.4: build 16E195 and iOS 10.3.1: build 14E304.

Please note the plain "ಎಕ್ಸ್‌ಪ್ರೆಸ್" inline text will use Kannadasangam MN font (AAT font), if you are viewing this is either mac or iOS. It will rendered the text correctly.

But the below link uses Google Noto Sans font which is Open Type font renders incorrectly due to bug in Apple CoreText Engine

http://www.prajavani.net/news/article/2017/04/04/481670.html


But the same weblink in Chrome on Mac will render correctly, because it uses harfbuzz, text shaping engine.


Chrome in iOS fails render the text correctly, because all browsers in iOS are required to webkit which uses Apple Coretext engine.


More examples of this issue are

ದಟ್ಸ್, ಎಕ್ಸ್ , ಮಾರ್ಚ್, ಟೆಕ್ಸ್ಟ್, ಬುಕ್ಸ್, ಸಾಫ್ಟ್, ಜಸ್ಟ್, ಪೋಸ್ಟ್‌ಪೇಯ್ಡ್‌  

Please check this below link in Safari and Chrome on mac OS
http://kannadafont.blogspot.com/2017/03/blog-post.html
Comment 3 Myles C. Maxfield 2017-04-07 17:23:11 PDT
I can reproduce this on iOS.
Comment 4 Radar WebKit Bug Importer 2017-04-07 17:24:45 PDT
<rdar://problem/31514818>
Comment 5 P K 2017-08-07 20:00:14 PDT
Please review this webpage. This has loaded webfonts to enable easy testing.

http://kannadafont.blogspot.com/2017/03/blog-post.html

I have tested this issue in mac os Sierra public beta 3 (17A315i)

Kannada words: Passed
ದಟ್ಸ್, ಎಕ್ಸ್ , ಟೆಕ್ಸ್ಟ್, ಬುಕ್ಸ್, ಸಾಫ್ಟ್, ಜಸ್ಟ್, ಪೋಸ್ಟ್‌ಪೇಯ್ಡ್‌, ಎಕ್ಸ್‌ಪ್ರೆಸ್

Kannada word: "FAILED" with Baloo tamma, Nirmala UI, Kannada MN (mac font)
ಮಾರ್ಚ್

Please check.
Comment 6 P K 2017-09-03 11:54:40 PDT
Created attachment 319792 [details]
ಮಾರ್ಚ್ Failed, ಆ್ಯಕ್ಷಿಸ್ Failed

ಮಾರ್ಚ್ Failed in Baloo Thamma and Nirmala UI
ಆ್ಯಕ್ಷಿಸ್ Failed in Baloo Thamma
Comment 7 Myles C. Maxfield 2017-10-26 12:03:48 PDT
Can verify that this is fixed in the latest version of macOS and iOS?
Comment 8 P K 2017-11-13 08:17:09 PST
Hello Myles,

I am responding to your query.

ಮಾರ್ಚ್ Failed, ಆ್ಯಕ್ಷಿಸ್ Failed

ಮಾರ್ಚ್ Failed in Noto Serif Kannada, Baloo Thamma and Nirmala UI
ಆ್ಯಕ್ಷಿಸ್ Failed in Baloo Thamma

(I was told this was not the right forum for CoreText Issue. I can submit a bugreport in radar directly.)

"ಆ್ಯಕ್ಷಿಸ್": is failing because related to Kannada opentype feature "akhn" for ಕ್ಷ and ಜ್ಞ. When diacritics are added to these composites, Apple CoreText is failing. 

ಮಾರ್ಚ್: I have to compared few Kannada fonts, and determine the difference in opentype features.

If you chose to, you may please close this issue. I will submit a ticket in bugreport directly.

Thanks for your kind support.
Comment 9 Myles C. Maxfield 2017-11-14 11:15:47 PST
<rdar://problem/35536754>
Comment 10 P K 2019-08-16 08:45:58 PDT
This is resolved in newer OS versions.