Last modified: 2014-06-17 19:57:02 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 T63470, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61470 - Helvetica Neue cannot render some combining characters correctly
Helvetica Neue cannot render some combining characters correctly
Status: NEW
Product: MediaWiki skins
Classification: Unclassified
Vector (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: typography-refresh
  Show dependency treegraph
 
Reported: 2014-02-18 02:45 UTC by Ryan Kaldari
Modified: 2014-06-17 19:57 UTC (History)
15 users (show)

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


Attachments
comparison between Helvetica and Helvetica Neue (5.37 KB, image/png)
2014-02-18 02:45 UTC, Ryan Kaldari
Details

Description Ryan Kaldari 2014-02-18 02:45:27 UTC
Created attachment 14609 [details]
comparison between Helvetica and Helvetica Neue

I did more investigation on the rendering problems reported for Helvetica Neue (the preferred content font in VectorBeta). It turns out Helvetica Neue has serious problems with "combining characters" (http://en.wikipedia.org/wiki/Combining_character). The common ones are fine, like grave accent, acute accent, tilde, umlaut, etc. But as soon as you try the less common ones, the rendering goes to hell.

I don't know much about where these more obscure combining characters are used, but I know they are common in Vietnamese (which uses a modified Latin alphabet), and in the International Phonetic Alphabet (which is often used for pronunciation guides on en.wiki).

The attached screenshot shows a sample of the problem. The left-hand column shows the correct rendering in Helvetica and the right-hand column shows the incorrect rendering in Helvetica Neue. I haven't done an inventory of which characters display incorrectly, but most of the ones I tried randomly failed. There are about 200 combining characters total in Unicode.
Comment 1 Ryan Kaldari 2014-02-18 03:44:56 UTC
I think this is technically 2 different bugs. Since we can't directly fix either of them, I'm going to leave them together for the time being.

The first bug is that many of these combining characters don't seem to have kerning pairs. So they look fine with a lowercase 'e', but if you pair them with an uppercase letter like 'A', a wide letter like 'm', or a letter with a descender like 'g', they render incorrectly.

The second bug is that the tie characters (https://en.wikipedia.org/wiki/Tie_%28typography%29) are placed incorrectly by default. They are centered over the pair character instead of off-center, so they don't perform the visual function of tying the pair character with the character that follows the combining character.

If someone wants to upstream these bugs, the publisher of the font is Linotype Design Studio GmbH, although I have no idea how you report bugs to them.
Comment 2 Steven Walling 2014-03-31 21:21:48 UTC
Moved to core now that typography changes committed to master and removed from VectorBeta.
Comment 3 Ryan Kaldari 2014-03-31 21:58:25 UTC
This is almost certainly caused by missing data in the Glyph Positioning Table of the font. Most browsers seem to compensate for this automatically, but it looks wonky in Firefox.
Comment 4 Nemo 2014-04-09 09:31:29 UTC
It seems that at the very least Helvetica should be prioritised over Helvetica Neue in non-English wikis. Jon, Matt, what was the way to do this per-language configuration?
Comment 5 Jared Zimmerman (WMF) 2014-04-09 22:28:00 UTC
This seems reasonable, Ryan K. are these findings in-line with the test you did or are these different findings.
Comment 6 Erwin Dokter 2014-04-15 13:51:08 UTC
Ryan, can you specify what platform(s) you encounter this bug on? Is it Mac or Windows?
Comment 7 Ryan Kaldari 2014-06-17 19:57:02 UTC
Erwin: Firfox on Mac.

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


Navigation
Links