WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
67604
MathML: Issues with italic STIX fonts on Lion
https://bugs.webkit.org/show_bug.cgi?id=67604
Summary
MathML: Issues with italic STIX fonts on Lion
François Sausset
Reported
2011-09-05 08:24:16 PDT
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.
Attachments
test file
(455 bytes, application/xhtml+xml)
2011-09-05 08:24 PDT
,
François Sausset
no flags
Details
Rendering of the test
(10.43 KB, image/png)
2011-09-05 08:26 PDT
,
François Sausset
no flags
Details
non-MathML STIX
(7.19 KB, image/png)
2012-05-04 08:09 PDT
,
Jacky Jiang
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
François Sausset
Comment 1
2011-09-05 08:26:06 PDT
Created
attachment 106339
[details]
Rendering of the test
Alexey Proskuryakov
Comment 2
2011-09-05 13:54:05 PDT
<
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.
mitz
Comment 3
2011-09-05 16:07:11 PDT
This was not addressed by the fix for
bug 67444
. Let’s keep this bug open to track a possible workaround in WebKit.
François Sausset
Comment 4
2011-09-07 05:10:51 PDT
(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).
François Sausset
Comment 5
2011-10-07 08:22:53 PDT
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?
Frédéric Wang (:fredw)
Comment 6
2012-04-16 02:08:55 PDT
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.
Jacky Jiang
Comment 7
2012-05-04 08:09:41 PDT
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>
mitz
Comment 8
2012-05-09 14:52:30 PDT
This issue is addressed in OS X Lion Update 10.7.4.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug