RESOLVED FIXED 56441
Render fonts using skia when requested by platform context.
https://bugs.webkit.org/show_bug.cgi?id=56441
Summary Render fonts using skia when requested by platform context.
Chris Guillory
Reported Wednesday, March 16, 2011 2:48:14 AM UTC
To support print preview in Chrome we need to render fonts using skia's text drawing APIs instead of using the native platform text drawing APIs. A previous change in Chromium enables this change: http://src.chromium.org/viewvc/chrome?view=rev&revision=77924
Attachments
Proposed patch. (7.61 KB, patch)
2011-03-16 05:21 PDT, Chris Guillory
no flags
Proposed patch. (7.61 KB, patch)
2011-03-22 19:01 PDT, Chris Guillory
no flags
Proposed patch. (8.09 KB, patch)
2011-03-22 19:08 PDT, Chris Guillory
no flags
Patch. (8.20 KB, patch)
2011-03-30 12:15 PDT, Chris Guillory
no flags
Mike Reed
Comment 1 Wednesday, March 16, 2011 12:46:24 PM UTC
What else needs to be done for this, outside of ENABLE(SKIA_TEXT) ?
Chris Guillory
Comment 2 Wednesday, March 16, 2011 1:21:09 PM UTC
Created attachment 85923 [details] Proposed patch.
WebKit Review Bot
Comment 3 Wednesday, March 16, 2011 1:28:58 PM UTC
Chris Guillory
Comment 4 Wednesday, March 23, 2011 3:01:19 AM UTC
Created attachment 86557 [details] Proposed patch. Linux build should succeed.
Chris Guillory
Comment 5 Wednesday, March 23, 2011 3:08:42 AM UTC
Created attachment 86559 [details] Proposed patch.
Chris Guillory
Comment 6 Monday, March 28, 2011 9:17:22 PM UTC
Brett can you have a look. The eventual goal is to always use skia on windows for drawing text but that will take some time.
Brett Wilson (Google)
Comment 7 Wednesday, March 30, 2011 6:38:48 PM UTC
Comment on attachment 86559 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=86559&action=review LGTM > Source/WebCore/platform/graphics/skia/SkiaFontWin.cpp:266 > + // Check if native font rendering is allowed. This comment seems redundant. I would just delete it.
Chris Guillory
Comment 8 Wednesday, March 30, 2011 7:59:51 PM UTC
(In reply to comment #7) > (From update of attachment 86559 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=86559&action=review > > LGTM > > > Source/WebCore/platform/graphics/skia/SkiaFontWin.cpp:266 > > + // Check if native font rendering is allowed. > > This comment seems redundant. I would just delete it. Removed. I'll upload a new patch.
Chris Guillory
Comment 9 Wednesday, March 30, 2011 8:15:14 PM UTC
Created attachment 87594 [details] Patch. Updated with comments from Brett. Also I've included SKTypeface_win.h to address a FIXME.
Dimitri Glazkov (Google)
Comment 10 Wednesday, March 30, 2011 10:48:37 PM UTC
Comment on attachment 87594 [details] Patch. ok.
WebKit Commit Bot
Comment 11 Thursday, March 31, 2011 2:50:58 AM UTC
The commit-queue encountered the following flaky tests while processing attachment 87594 [details]: fast/loader/recursive-before-unload-crash.html bug 50880 (authors: beidson@apple.com and eric@webkit.org) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 12 Thursday, March 31, 2011 2:53:35 AM UTC
Comment on attachment 87594 [details] Patch. Clearing flags on attachment: 87594 Committed r82532: <http://trac.webkit.org/changeset/82532>
WebKit Commit Bot
Comment 13 Thursday, March 31, 2011 2:53:40 AM UTC
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 14 Thursday, March 31, 2011 4:35:36 AM UTC
http://trac.webkit.org/changeset/82532 might have broken GTK Linux 32-bit Debug
Note You need to log in before you can comment on or make changes to this bug.