WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
57782
Replace SKIA_TEXT with isNativeFontRenderingAllowed() for print-preview to work
https://bugs.webkit.org/show_bug.cgi?id=57782
Summary
Replace SKIA_TEXT with isNativeFontRenderingAllowed() for print-preview to work
Mike Reed
Reported
2011-04-04 13:22:44 PDT
Replace SKIA_TEXT with isNativeFontRenderingAllowed() for print-preview to work
Attachments
Patch
(1.57 KB, patch)
2011-04-04 13:23 PDT
,
Mike Reed
no flags
Details
Formatted Diff
Diff
Patch
(1.53 KB, patch)
2011-04-08 07:02 PDT
,
Mike Reed
no flags
Details
Formatted Diff
Diff
Patch
(1.58 KB, patch)
2011-04-08 10:12 PDT
,
Mike Reed
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Mike Reed
Comment 1
2011-04-04 13:23:46 PDT
Created
attachment 88112
[details]
Patch
Kenneth Russell
Comment 2
2011-04-06 17:36:43 PDT
Comment on
attachment 88112
[details]
Patch Looks fine to me as long as it's been tested.
Kenneth Russell
Comment 3
2011-04-06 19:04:31 PDT
Also, did you want a cq+? Please mark bugs with cq? if so. ('webkit-patch upload' does this automatically.)
Chris Guillory
Comment 4
2011-04-07 14:44:00 PDT
Shouldn't this change already be landed from this change:
http://trac.webkit.org/changeset/82532/trunk/Source/WebCore/platform/graphics/skia/SkiaFontWin.cpp
Am I missing something?
WebKit Commit Bot
Comment 5
2011-04-07 17:03:48 PDT
Comment on
attachment 88112
[details]
Patch Rejecting
attachment 88112
[details]
from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=eseidel-cq-sf', 'bu..." exit_code: 2 Last 500 characters of output: error continues to appear after building again then the build system needs to be modified so that the inappropriate files are no longer copied in to the framework. Command /bin/sh failed with exit code 1 Command /bin/sh failed with exit code 1 ** BUILD FAILED ** The following build commands failed: WebCore: PhaseScriptExecution "Check For Inappropriate Files In Framework" /Projects/CommitQueue/WebKitBuild/WebCore.build/Debug/WebCore.build/Script-5DF50887116F3077005202AB.sh (1 failure) Full output:
http://queues.webkit.org/results/8373286
Mike Reed
Comment 6
2011-04-08 07:02:01 PDT
Created
attachment 88817
[details]
Patch
Eric Seidel (no email)
Comment 7
2011-04-08 08:08:58 PDT
Comment on
attachment 88817
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=88817&action=review
> Source/WebCore/ChangeLog:8 > + No new tests. (OOPS!)
Any way to test this? We technically have printing tests but no one uses them.
Mike Reed
Comment 8
2011-04-08 08:23:21 PDT
It is also testable when we define SKIA_GPU, which implements the isNativeFontRenderingAllowed() call. It is in that scenario that I saw the bug, where we had missed this one location in an earlier patch change replaced SKIA_TEXT with isNativeFontRenderingAllowed(). Without this patch, we fail to properly setup the paint (calling setupPaintForFont) but we still fall into skiaDrawText, which draws but with the wrong font, etc.
Eric Seidel (no email)
Comment 9
2011-04-08 08:25:40 PDT
So when Chrome runs new-run-webkit-tests in "gpu tests mode" or whatever this path is tested (and baselines will need updates)? Is that correct?
Mike Reed
Comment 10
2011-04-08 08:47:37 PDT
Not yet. SKIA_GPU is not yet the default for gpu. It is just under developement. Under the existing SW and GPU builds, the only change should affect print-preview, which should get more correct stroked text. I don't expect any image rebaselining related to this change.
Eric Seidel (no email)
Comment 11
2011-04-08 10:06:20 PDT
Ok. Ideally your ChangeLog should explain why there is no testing. In this case, this is impossible to test as it only affects print preview. Unfortunately this chagne can't be cq+'d as is because it has OOPS on the test line. the cq is smart enough to replace the OOPS in the reviewer line with the actual reviewer, but wont' fix the testing line and thus the pre-commit hook which checks for OOPS in ChangeLog files will fail. It's kidna confusing, I know. :(
Mike Reed
Comment 12
2011-04-08 10:12:43 PDT
Created
attachment 88837
[details]
Patch
Mike Reed
Comment 13
2011-04-08 10:13:21 PDT
updated Tests in ChangeLog (I had just forgotten to do that, sorry)
Eric Seidel (no email)
Comment 14
2011-04-08 10:19:16 PDT
Comment on
attachment 88837
[details]
Patch Thanks.
WebKit Commit Bot
Comment 15
2011-04-08 13:04:56 PDT
The commit-queue encountered the following flaky tests while processing
attachment 88837
[details]
: http/tests/websocket/tests/handshake-fail-by-no-cr.html
bug 58156
(author:
abarth@webkit.org
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 16
2011-04-08 13:08:32 PDT
Comment on
attachment 88837
[details]
Patch Clearing flags on attachment: 88837 Committed
r83329
: <
http://trac.webkit.org/changeset/83329
>
WebKit Commit Bot
Comment 17
2011-04-08 13:08:36 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug