Bug 167728

Summary: Poor MathML rendering on macOS Sierra with the system font
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bdakin, bfulgham, darin, distler, mitz, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.13   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1336058
https://bugs.webkit.org/show_bug.cgi?id=183459
Bug Depends on:    
Bug Blocks: 160161    
Attachments:
Description Flags
Screenshot of Mozilla's MathML Torture Test (STIXGeneral VS STIX Two) none

Frédéric Wang (:fredw)
Reported 2017-02-02 02:55:49 PST
Created attachment 300396 [details] Screenshot of Mozilla's MathML Torture Test (STIXGeneral VS STIX Two) By default macOS Sierra 10.12.3 only ships the obsolete STIXGeneral fonts, which are not enough to get decent mathematical rendering. On the other hand, STIX 2 was released in December 2016 and greatly improves the rendering when it is installed. See the attached screenshots comparing the two versions of STIX on Safari 10 (left: STIXGeneral, right: STIX Two): - some vertical fences do no stretch to the desired size - integrals and summation symbols are too small - some scripts are wrongly placed - vertical spacing in nested roots is too narrow - probably more... See https://trac.webkit.org/wiki/MathML/Fonts for details. From the STIX Two release notes (https://sourceforge.net/projects/stixfonts/files/Current%20Release/STIXv2.0.0.zip/download): "Earlier versions of the STIX fonts are deprecated and no longer supported. We urge all users of the STIX fonts to upgrade to the new versions as soon as possible." From Jacques Distler blog (https://golem.ph.utexas.edu/~distler/blog/archives/002926.html): "The STIX Two fonts were released this week. They represent a big improvement on Version 1, and are finally definitively better than LatinModern for displaying MathML on the web. [...] In an ideal world, OS vendors would bundle the STIX Two fonts with their next release (as Apple previously bundled the STIX fonts with MacOSX ≥10.7)"
Attachments
Screenshot of Mozilla's MathML Torture Test (STIXGeneral VS STIX Two) (72.57 KB, image/png)
2017-02-02 02:55 PST, Frédéric Wang (:fredw)
no flags
Radar WebKit Bug Importer
Comment 1 2017-02-02 16:14:47 PST
Frédéric Wang (:fredw)
Comment 2 2018-03-08 08:56:08 PST
I just checked on macOS 10.13.3 (February 19, 2018) and the only pre-installed math fonts are the obsolete STIXGeneral.
Note You need to log in before you can comment on or make changes to this bug.