Last modified: 2014-07-24 12:13:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 63817 - Provide a workaround to IE's bug that causes the generic "serif" rendered broken
Provide a workaround to IE's bug that causes the generic "serif" rendered broken
Status: NEW
Product: MediaWiki skins
Classification: Unclassified
Vector (Other open bugs)
PC All
: High major
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: typography-refresh 63942
  Show dependency treegraph
Reported: 2014-04-11 13:24 UTC by Yusuke Matsubara
Modified: 2014-07-24 12:13 UTC (History)
7 users (show)

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


Description Yusuke Matsubara 2014-04-11 13:24:49 UTC
A known bug [1] of Internet Explorer 10 and earlier makes the generic "serif" rendered poorly in Japanese, mixing one font (a Mincho font, close to serif) and another (said to be the Korean "Batang" font, close to sans-serif), character by character in one line. (screen shot in [2])  Because Latin-script fonts specified for headings in the current Vector skin are not applicable to Japanese scripts, the generic "serif" has to be applied.  This results in IE users in Japanese experiencing a readability issue due to the forementioned rendering bug of the browser.

Note that this is not merely an aesthetic preference, but a problem close to breakage in the interface; when users see this anomaly in the font style, most would go to check and see if something is broken on their computers.


Also discussed in
Comment 1 Yusuke Matsubara 2014-04-11 13:29:56 UTC
A workaround would be to prepend to the font-family specification a font such as "HGP明朝B" (a serif-like font specifically designed for headings) or "MS PMincho", that is widely available among the IE users and close to serif. Because "MS PMincho" can be poorly rendered on Mac (bundled with MS Office) and Linux (bundled with Wine), a suggested font set for headings in Japanese would be: "IPAPMincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGP明朝B", "MS PMincho", serif.  Doing this would require the font stack to be localisable as part of the skin.

A similar set for Wikipedia was suggested in an independent blog post by a Wikipedia reader. <>
Comment 2 Andre Klapper 2014-05-09 16:03:53 UTC
(In reply to Yusuke Matsubara from comment #0)
> makes the generic "serif" rendered poorly in Japanese
> Also discussed in
> Typography_refresh#About_troubles_include_IE.
> 27s_rendering_error_in_Japanese_Wikipedia

Seeing that this ticket was filed on 2014-04-11 and as the link provided above points to the "Typography refresh" page, I assume that the generic "serif" font rendering problem only 'appeared' after the Typography Refresh changes were deployed on Wikimedia sites.

Quoting bug 63351 comment 7, "As of I595feec9, the MediaWiki 1.23 release branch does not include any fonts changes compared to previous releases – everything, text and headings, is just 'sans-serif'."

Hence this cannot be an issue for 1.23.0. Removing Target Milestone.
Comment 3 Yusuke Matsubara 2014-07-24 12:13:19 UTC
On Japanese Wikipedia, users are testing this hack:

It blacklists old browsers that cannot render fonts properly. (and also adds per-environment font specifications for MacOS and Windows.)

I realize the script above is ad-hoc, but would a similar solution with browser detection plausible?

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