Bug 39799

Summary: Update the block of characters that need to go to complex script path
Product: WebKit Reporter: Jungshik Shin <jshin>
Component: Layout and RenderingAssignee: Jungshik Shin <jshin>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, mitz, simon.fraser, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://ja.wikipedia.org/wiki/JIS_X_0213%E9%9D%9E%E6%BC%A2%E5%AD%97%E4%B8%80 %E8%A6%A7
Attachments:
Description Flags
test file
none
patch (layout test without expected results, change log)
none
updated patch (to Unicode 6.0)
none
patch with layout test and result
none
updated patch with style nits fixed abarth: review+

Jungshik Shin
Reported 2010-05-26 17:20:50 PDT
The list of blocks of Unicode characters that require complex script code path is outdated. In addition, it does not include [U+02E5, U+02E9] (IPA tone letters). They're not combining, but some sequences of those characters require mandatory ligation. See Unicode 5.2 section 7.8 Modifier letters (p.224: Tone letters Figure 7-7) http://www.unicode.org/versions/Unicode5.2.0/ch07.pdf (p. 27 in the PDF). My preliminary patch is up at http://codereview.chromium.org/2241005/show I'll upload it here along with a layout test (if I can make one with a commonly available font on each platform). It's a Chromium bug ( http://crbug.com/45013) initially filed as a Chromium OS bug ( http://crosbug.com/3122 )
Attachments
test file (235 bytes, text/html)
2010-05-27 16:57 PDT, Jungshik Shin
no flags
patch (layout test without expected results, change log) (5.21 KB, patch)
2010-07-12 17:16 PDT, Jungshik Shin
no flags
updated patch (to Unicode 6.0) (7.06 KB, patch)
2011-04-18 22:31 PDT, Jungshik Shin
no flags
patch with layout test and result (9.12 KB, patch)
2011-04-19 17:19 PDT, Jungshik Shin
no flags
updated patch with style nits fixed (9.15 KB, patch)
2011-04-19 17:28 PDT, Jungshik Shin
abarth: review+
Jungshik Shin
Comment 1 2010-05-27 16:57:16 PDT
Created attachment 57282 [details] test file Lines 2 - 6 contain sequences of IPA tone letters that have to be ligated instead of being rendered separately.
Jungshik Shin
Comment 2 2010-07-12 17:16:42 PDT
Created attachment 61297 [details] patch (layout test without expected results, change log) Just to stow away my patch and layout test. Not for review, yet.
Jungshik Shin
Comment 3 2011-04-18 22:31:51 PDT
Created attachment 90148 [details] updated patch (to Unicode 6.0) Updated the patch to list all the 'complex script blocks' in Unicode 6.0. I'll generate the layout test results tomorrow and update the patch again. (at the moment, remote connections to Win/Mac do not work well).
Jungshik Shin
Comment 4 2011-04-19 17:19:35 PDT
Created attachment 90277 [details] patch with layout test and result
WebKit Review Bot
Comment 5 2011-04-19 17:22:10 PDT
Attachment 90277 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 LayoutTests/ChangeLog:6: Line contains tab character. [whitespace/tab] [5] LayoutTests/ChangeLog:8: Line contains tab character. [whitespace/tab] [5] Source/WebCore/ChangeLog:6: Line contains tab character. [whitespace/tab] [5] Source/WebCore/ChangeLog:10: Line contains tab character. [whitespace/tab] [5] Total errors found: 4 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jungshik Shin
Comment 6 2011-04-19 17:28:36 PDT
Created attachment 90278 [details] updated patch with style nits fixed
Adam Barth
Comment 7 2011-04-19 17:31:48 PDT
Comment on attachment 90278 [details] updated patch with style nits fixed rs=me
Simon Fraser (smfr)
Comment 8 2011-05-03 22:06:55 PDT
This test is failing on Mac SnowLeopard for me: "FAIL: The following strings are rendered differently depending on what text-rendering is set to : ˥˧˥"
Note You need to log in before you can comment on or make changes to this bug.