Bug 36596

Summary: ZWJ does not join glyphs properly
Product: WebKit Reporter: David Yonge-Mallo <davinci>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ap, daniel, karlcow, mitz, s.dasun
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test case and expected output for Safari
none
test case none

Description David Yonge-Mallo 2010-03-25 07:14:39 PDT
Created attachment 51637 [details]
Test case and expected output for Safari

The zero-width joiner (ZWJ) does not join glyphs properly in the complex font path.  (It is ignored in the simple font path: see <a href="https://bugs.webkit.org/show_bug.cgi?id=16131">bug 16131</a>.)

Safari (4.0.5, 5531.22.7) does not do the shaping at all.  Chromium on Linux does the shaping correctly, but incorrectly displays the ZWJ glyph between the joined characters.
Comment 1 Alexey Proskuryakov 2010-03-25 15:44:26 PDT
Created attachment 51685 [details]
test case

Same test as an attachment for easier viewing.
Comment 2 dasun sameera weerasinghe 2013-03-15 00:30:27 PDT
Same issue, I've tested on QWebView, Everything render correctly except text with ZWJ, but Google chrome display them correctly.

I've tested on Windows 7(32 bit) & 8(64 bit)

Environment:
Qt 5.0.1 (mingw47_32)
Comment 3 dasun sameera weerasinghe 2014-03-11 00:50:36 PDT
It is still reproducible in qt 5.2.1 too.
Comment 4 Karl Dubost 2024-02-08 00:44:24 PST
This seems to pass everywhere right now in STP 188, Firefox Nightly and Chrome Canary