Last modified: 2007-04-18 22:08:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10666, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8666 - SVG with CJK fonts doesn't render CJK text
SVG with CJK fonts doesn't render CJK text
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: svg
  Show dependency treegraph
Reported: 2007-01-17 03:56 UTC by brianna.laugher
Modified: 2007-04-18 22:08 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description brianna.laugher 2007-01-17 03:56:08 UTC

It appears that SVGs with CJK (Chinese, Japanese, Korean) text are not being
rendered correctly. I couldn't find a single SVG that rendered correctly. These
ones, for example, don't render correctly:

The few that I could find that did render correctly ( ) had had the text
converted to paths, which is rather undesirable.

For Korean fonts, a user suggested one of these:

Firefox also failed to render these images correctly, but I was able to
see the CJK text by downloading the files and using EyeOfGNOME (eog) to view them.
Comment 2 Kyungjoon Lee 2007-01-17 05:38:48 UTC
Testcase using batang/gulim and Un Fonts:
Comment 3 Kyungjoon Lee 2007-01-20 00:52:39 UTC
Could this be related to bug 5694?
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-25 03:35:27 UTC
Isn't the issue just that the WMF doesn't have a decent set of fonts installed?  I could've sworn 
there was a bug for that.
Comment 5 brianna.laugher 2007-01-25 06:29:07 UTC
(In reply to comment #4)
> Isn't the issue just that the WMF doesn't have a decent set of fonts
installed?  I could've sworn 
> there was a bug for that.

[Bugzilla:3769]]: "Fonts are off in rasterized SVG images on wikimedia sites" ?
If that's the one you mean, it needs a better name. The fonts are not off; they
don't exist.
Comment 6 Tim Starling 2007-04-18 22:06:34 UTC
I have installed the fonts-chinese, fonts-japanese and fonts-korean packages
from FC4, plus others for other languages. This closes the issue for now as far
as I'm concerned. For Japanese text the most common fallback is the Kochi Gothic
substitute from , which is now being used
for all fonts on except
"serif". With a bit of effort you can get it to use the Kochi Mincho substitute
font, e.g.

which is from

Use action=purge on the image description page, plus a hard refresh or two, to
get the SVGs to re-render.

Note You need to log in before you can comment on or make changes to this bug.