Created attachment 106338 [details] test file In Mac OS X 10.7, STIX fonts used to render MathML in Webkit are installed by default. However there seem to be a problem with the italic variant. Indeed regular glyphs are rendered as italic ones and italic glyphs are rendered as "double italic" ones for mathml content in Lion. I added a test file with the rendering on my machine.
Created attachment 106339 [details] Rendering of the test
<rdar://problem/9946779> Dan, is this INVALID due to being an issue outside WebKit? Or did it get fixed as part of bug 67444? I don't have Lion here to test a nightly build.
This was not addressed by the fix for bug 67444. Let’s keep this bug open to track a possible workaround in WebKit.
(In reply to comment #3) > This was not addressed by the fix for bug 67444. Let’s keep this bug open to track a possible workaround in WebKit. I think I have a workaround in webkit by adding some lion-specific css rules in css/mathml.css. However, I don't know how to add lion-specific rules in a css file. Is it possible? How? If yes, I'll submit a patch soon. I also suspect that the problem is outside webkit: I filled a bug report <rdar://problem/10013627> that is perhaps a duplicate of <rdar://problem/9946779> (but I can't access it).
The problem has been solved by the release of the version 1.1.0-beta1 of the STIX fonts! However, these fonts have to be installed on the Lion bots to practically solve the problem for the MathML related layout tests. Hopefully, it will be done by the OS X 10.7.2 update?
What is the status of this bug? Are the new version of STIX fonts included in Webkit? For your information, this bug also happened with MathJax: https://github.com/mathjax/MathJax/issues/152 and a workaround was added: *-Regular and *-Italic are now used for the family names. It seems that the actual bug is that Webkit tries to italize the *-Italic fonts whereas they are already of italic type.
Created attachment 140232 [details] non-MathML STIX Looks this not only happened to MathML, it also happened to non-MathML contents. Attaching the screenshot of latest build Safari on Lion 10.7.3. Following are the contents: <html> <body> <div style="font-family: STIXGeneral;"> NON-MATHML </div> </body> </html>
This issue is addressed in OS X Lion Update 10.7.4.