Bug 169502

Summary: Apple core text engine has issues with Kannada words with double/triple/multiple u+0ccd (ZERO WIDTH JOINER)
Product: WebKit Reporter: P K <parthakr>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: http://kannada.oneindia.com/news/bangalore/e-kannada-exhibition-conversation-kannada-online-expo-ravindra-kalakshetra/slider-pf62615-114263.html
Attachments:
Description Flags
Attached screenshot, left Chrome, middle Firefox, Right Safari
none
Issue reproduced for ದಟ್ಸ್ in mac 10.12.3 and Safari 10.0.3
none
Issue reproduced in iPhone none

Description P K 2017-03-10 19:16:53 PST
Created attachment 304116 [details]
Attached screenshot, left Chrome, middle Firefox, Right Safari

Apple core text engine has issues with Kannada words with double/triple/multiple u+0ccd (ZERO WIDTH JOINER), meaning base letter ending with u+0ccd and one or many half-forms with it forced by multiple u+0ccd.

Open the below weblinks in SAFARI on mac, and chrome on mac to see the difference.

search word ದಟ್ಸ್
in below link which uses Tunga Webfont:
http://kannada.oneindia.com/amphtml/news/2009/04/19/karnataka-muslim-sangharsha-samiti-to-support-bjp.html

Search words in
ಎಕ್ಸ್ , ಮಾರ್ಚ್, ಟೆಕ್ಸ್ಟ್, ಬುಕ್ಸ್, ಸಾಫ್ಟ್, ಜಸ್ಟ್
in below link which uses Tunga Webfont:
http://kannada.oneindia.com/news/bangalore/e-kannada-exhibition-conversation-kannada-online-expo-ravindra-kalakshetra-114263.html

Steps to Reproduce:
Open the below weblinks in SAFARI on mac, and chrome on mac to see the difference.

search word ದಟ್ಸ್
in below link which uses Tunga Webfont:
http://kannada.oneindia.com/amphtml/news/2009/04/19/karnataka-muslim-sangharsha-samiti-to-support-bjp.html

Search words in
ಎಕ್ಸ್ , ಮಾರ್ಚ್, ಟೆಕ್ಸ್ಟ್, ಬುಕ್ಸ್, ಸಾಫ್ಟ್, ಜಸ್ಟ್
in below link which uses Tunga Webfont:
http://kannada.oneindia.com/news/bangalore/e-kannada-exhibition-conversation-kannada-online-expo-ravindra-kalakshetra-114263.html
Comment 1 Alexey Proskuryakov 2017-03-10 22:14:24 PST
> search word ದಟ್ಸ್
> in below link which uses Tunga Webfont:
> http://kannada.oneindia.com/amphtml/news/2009/04/19/karnataka-muslim-sangharsha-samiti-to-support-bjp.html

This looks correct to me in Safari 10.0.3 on macOS 10.12.3

> Search words in
> ಎಕ್ಸ್ , ಮಾರ್ಚ್, ಟೆಕ್ಸ್ಟ್, ಬುಕ್ಸ್, ಸಾಫ್ಟ್, ಜಸ್ಟ್
> in below link which uses Tunga Webfont:
> http://kannada.oneindia.com/news/bangalore/e-kannada-exhibition-conversation-kannada-online-expo-ravindra-kalakshetra-114263.html

But this reproduces.
Comment 2 P K 2017-03-11 02:12:44 PST
Created attachment 304152 [details]
Issue reproduced for ದಟ್ಸ್ in mac 10.12.3 and Safari 10.0.3

Issue reproduced for ದಟ್ಸ್ in mac 10.12.3 and Safari 10.0.3, screenshot attached.
Comment 3 P K 2017-03-11 02:44:49 PST
Created attachment 304157 [details]
Issue reproduced in iPhone
Comment 4 Myles C. Maxfield 2017-03-15 16:03:44 PDT
I think I fixed this in http://trac.webkit.org/changeset/211382 . Can you try using a WebKit Nightly build from https://webkit.org/nightly/ ? Thanks!
Comment 5 P K 2017-03-15 16:52:01 PDT
The error still persists even with nightly build. 

Please check.

Please fix this in Coretext also, so this issue is resolved system wide for mac OS and iOS.
Comment 6 P K 2017-03-15 19:47:24 PDT
FYI. This issue is system mac OS and iOS.
Comment 8 Radar WebKit Bug Importer 2017-04-10 14:52:51 PDT
<rdar://problem/31542524>
Comment 9 P K 2017-10-19 20:28:33 PDT
This is resolved in mac OS high Sierra and iOS 11