Bug 183459

Summary: Poor MathML rendering on iOS 11 with the system font
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, darin, fred.wang, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: iOS 11   
See Also: https://bugs.webkit.org/show_bug.cgi?id=167728
Bug Depends on:    
Bug Blocks: 160161    
Attachments:
Description Flags
Testcase (extracted from the Mozilla MathML torture test)
none
Screenshot on iOS 11 (system fonts)
none
Screenshot on iOS 11 (STIX Two Math) none

Frédéric Wang (:fredw)
Reported 2018-03-08 09:38:48 PST
Created attachment 335307 [details] Testcase (extracted from the Mozilla MathML torture test) This is the counterpart of bug 167728 but for iOS. It seems iOS 11 ships now some fonts that allow to draw e.g. Mathematical Alphanumeric Symbols or radicals. However, default rendering still has several issues: - 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
Testcase (extracted from the Mozilla MathML torture test) (3.34 KB, text/html)
2018-03-08 09:38 PST, Frédéric Wang (:fredw)
no flags
Screenshot on iOS 11 (system fonts) (52.94 KB, image/png)
2018-03-08 09:41 PST, Frédéric Wang (:fredw)
no flags
Screenshot on iOS 11 (STIX Two Math) (57.35 KB, image/png)
2018-03-08 09:42 PST, Frédéric Wang (:fredw)
no flags
Radar WebKit Bug Importer
Comment 1 2018-03-08 09:39:04 PST
Frédéric Wang (:fredw)
Comment 2 2018-03-08 09:41:46 PST
Created attachment 335308 [details] Screenshot on iOS 11 (system fonts)
Frédéric Wang (:fredw)
Comment 3 2018-03-08 09:42:21 PST
Created attachment 335309 [details] Screenshot on iOS 11 (STIX Two Math)
Note You need to log in before you can comment on or make changes to this bug.