WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
84461
[EFL][DRT] SVG Batik test fails to display Chinese characters
https://bugs.webkit.org/show_bug.cgi?id=84461
Summary
[EFL][DRT] SVG Batik test fails to display Chinese characters
Dominik Röttsches (drott)
Reported
2012-04-20 09:44:52 PDT
LayoutTests/svg/batik/text/verticalText.svg looks okay overall, only it doesn't show Chinese characters - font missing?
Attachments
Patch
(10.99 KB, patch)
2012-05-09 06:47 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(91.29 KB, patch)
2012-05-09 06:57 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(91.40 KB, patch)
2012-05-09 07:04 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(89.94 KB, patch)
2012-05-11 01:54 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2012-05-09 06:09:39 PDT
This is not in this test only. All the tests that require CJK fonts are failing. The reason is that there are not CJK fonts in webkitgtkfonts package. Adding a font like /usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc (for chinese) fixes this test. It is under GNU GPL v2 (
http://en.wikipedia.org/wiki/WenQuanYi
).
Chris Dumez
Comment 2
2012-05-09 06:17:33 PDT
This is not specific to EFL port by the way, the GTK port has exactly the same issue for this test since it is using the same font. mrobinson: Is it possible to add fonts (like wqy-zenhei.ttc) to webkitgtkfonts if we notice some test cases require them?
Chris Dumez
Comment 3
2012-05-09 06:47:01 PDT
Created
attachment 140932
[details]
Patch Add WenQuanYi fonts to jhbuild.modules and load them in DRT. Rebaseline EFL expectations for svg/batik/text/verticalText.svg now that Chinese characters are properly displayed.
Chris Dumez
Comment 4
2012-05-09 06:57:52 PDT
Created
attachment 140935
[details]
Patch Regenerate diff with --binary so that PNG result is included.
Chris Dumez
Comment 5
2012-05-09 07:04:54 PDT
Created
attachment 140937
[details]
Patch Fix printed message in case one of the font folders cannot be loaded (Thanks Dominik).
Martin Robinson
Comment 6
2012-05-09 07:31:44 PDT
It's probably better to add this font directly to webkitgtk-test-fonts, indeed.
Chris Dumez
Comment 7
2012-05-09 07:39:58 PDT
Comment on
attachment 140937
[details]
Patch Ok, clearing the flags then.
Chris Dumez
Comment 8
2012-05-09 08:00:08 PDT
I made the following pull request to webkitgtk-fonts:
https://github.com/mrobinson/webkitgtk-test-fonts/pull/3
Chris Dumez
Comment 9
2012-05-10 13:44:09 PDT
Made the following pull request to webkitgtk-fonts instead:
https://github.com/mrobinson/webkitgtk-test-fonts/pull/4
Now using the same fonts as chromium-linux.
Martin Robinson
Comment 10
2012-05-10 15:27:50 PDT
(In reply to
comment #9
)
> Made the following pull request to webkitgtk-fonts instead: >
https://github.com/mrobinson/webkitgtk-test-fonts/pull/4
> > Now using the same fonts as chromium-linux.
Merged and uploaded a new version of the package:
https://github.com/downloads/mrobinson/webkitgtk-test-fonts/webkitgtk-test-fonts-0.0.3.tar.gz
Chris Dumez
Comment 11
2012-05-11 01:54:15 PDT
Created
attachment 141356
[details]
Patch Update to webkitgtk-fonts v0.0.3 and rebaseline svg/batik/text/verticalText.svg now that EFL's DumpRenderTree is able to display Chinese characters.
Chris Dumez
Comment 12
2012-05-11 05:29:21 PDT
Addressing this issue on GTK port at
Bug 86198
.
Raphael Kubo da Costa (:rakuco)
Comment 13
2012-05-11 05:39:28 PDT
Looks fine, thanks for working on this.
WebKit Review Bot
Comment 14
2012-05-11 09:28:06 PDT
Comment on
attachment 141356
[details]
Patch Clearing flags on attachment: 141356 Committed
r116776
: <
http://trac.webkit.org/changeset/116776
>
WebKit Review Bot
Comment 15
2012-05-11 09:28:12 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