RESOLVED FIXED 75289
Complex path should be used when UVS exists in text run
https://bugs.webkit.org/show_bug.cgi?id=75289
Summary Complex path should be used when UVS exists in text run
Kenichi Ishibashi
Reported 2011-12-27 19:31:39 PST
I added Unicode variation selector support as http://trac.webkit.org/changeset/102915, but the design wasn't good. When a text run contains UVS, complex path should be used because UVS requires glyph substitution depending on the context. UVS would be supported naturally by platform-specific text rendering engines if it support UVS.
Attachments
Patch (15.63 KB, patch)
2011-12-27 20:27 PST, Kenichi Ishibashi
no flags
Patch (update expectations) (15.59 KB, patch)
2011-12-27 21:30 PST, Kenichi Ishibashi
no flags
Patch(revised to ToT) (15.59 KB, patch)
2012-01-05 23:03 PST, Kenichi Ishibashi
no flags
Kenichi Ishibashi
Comment 1 2011-12-27 20:27:07 PST
Kenichi Ishibashi
Comment 2 2011-12-27 21:30:28 PST
Created attachment 120634 [details] Patch (update expectations)
Kenichi Ishibashi
Comment 3 2012-01-05 23:03:00 PST
Created attachment 121403 [details] Patch(revised to ToT)
Kenichi Ishibashi
Comment 4 2012-01-05 23:07:31 PST
(In reply to comment #3) > Created an attachment (id=121403) [details] > Patch(revised to ToT) Hi mitz, Could you please review this patch? This patch adds unicode variation selector ranges to Font::codePath() so that the function returns "Complex" for that ranges. The patch also removes the code that I added as r102915.
Kenichi Ishibashi
Comment 5 2012-01-09 22:12:20 PST
Comment on attachment 121403 [details] Patch(revised to ToT) Thank you for the review!
WebKit Review Bot
Comment 6 2012-01-10 02:46:50 PST
Comment on attachment 121403 [details] Patch(revised to ToT) Clearing flags on attachment: 121403 Committed r104545: <http://trac.webkit.org/changeset/104545>
WebKit Review Bot
Comment 7 2012-01-10 02:46:54 PST
All reviewed patches have been landed. Closing bug.
John Knottenbelt
Comment 8 2012-01-10 08:24:59 PST
Hi, I just committed a revised baseline in http://trac.webkit.org/changeset/104579 . Please could you check that it's correct.
Kenichi Ishibashi
Comment 9 2012-01-10 15:46:46 PST
It's correct. Thank you for rebaselining! (In reply to comment #8) > Hi, I just committed a revised baseline in http://trac.webkit.org/changeset/104579 . > > Please could you check that it's correct.
mitz
Comment 10 2012-01-10 22:48:40 PST
This change broke <fast/text/unicode-variation-selector.html> on OS X Lion.
Kenichi Ishibashi
Comment 11 2012-01-11 02:23:16 PST
(In reply to comment #10) > This change broke <fast/text/unicode-variation-selector.html> on OS X Lion. Sorry for about the regression. It seems I should also add UVS support to ComplexTextController class. I'll file a bug for it.
Note You need to log in before you can comment on or make changes to this bug.