Bug 17116

Summary: Character clusters in complex scripts can not span colors or other formatting
Product: WebKit Reporter: Brett Wilson (Google) <brettw>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Example page none

Description Brett Wilson (Google) 2008-01-31 08:40:45 PST
There is a set of formatting changes such as text color that should not cause a break in runs when composing complex scripts. IE seems to do a good job here.

WebKit breaks the text runs on this color change and sends each one individually to the font system (ASTUI, etc.), so the context is lost and there is no shaping across the boundary. I suspect this drawing should happen more like selections, where it gives the entire run to the font system, but specifies a subset of the string to draw with specified style. This will allow the font system to do shaping and then just draw the subset of characters relating to the current style.
Comment 1 Brett Wilson (Google) 2008-01-31 08:41:07 PST
Created attachment 18816 [details]
Example page
Comment 2 Alexey Proskuryakov 2008-01-31 13:11:48 PST

*** This bug has been marked as a duplicate of 6148 ***