Closed
Bug 732832
Opened 12 years ago
Closed 10 years ago
Stretching braces with MathJax fonts
Categories
(Core :: MathML, defect, P3)
Core
MathML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: fredw, Unassigned)
References
Details
(Keywords: helpwanted)
Attachments
(2 files, 1 obsolete file)
2.42 KB,
patch
|
Details | Diff | Splinter Review | |
7.52 KB,
application/vnd.oasis.opendocument.formula-template
|
Details |
Follow-up of bug 701758. The MathJax fonts use "composite char" to draw the braces. Hence to fix this bug, we should restore the support for composite chars first.
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
See https://groups.google.com/forum/?fromgroups#!topic/mathjax-dev/1Nm6l-TMDAA/discussion I think that would be best to clean up the code a bit more and remove the composite char support. We could still add a fallback mathfont*.properties file to stretch horizontal braces in MathJax without the middle char or say that the "scale" fallback is enough.
Reporter | ||
Comment 3•12 years ago
|
||
From Davide's response on mathjax-dev, the best seems to wait for the next release of MathJax fonts to support horizontal braces, as well as other constructs that require to scale some glyphs.
Reporter | ||
Comment 4•12 years ago
|
||
Mass change: setting priority to 3 for bugs preventing Gecko's Native MathML to be enabled by default in MathJax.
Keywords: helpwanted
Reporter | ||
Updated•12 years ago
|
Priority: -- → P3
Reporter | ||
Comment 5•12 years ago
|
||
Here is the issue from MathJax: https://github.com/mathjax/MathJax/issues/316 When the middle part of the horizontal braces is updated, we'll just have to use layout/mathml/MathJaxFonts.html to update our font table. I think we will also be able to support the glyphs that are currently "scaled" in MathJax.
Reporter | ||
Comment 6•11 years ago
|
||
Just a small patch that will work with the next version of MathJax fonts. One issue is that if the user has the old local fonts installed, the middle glyph will be drawn with a white rectangle ("undefined" glyph), even if STIX fonts are installed (as MathJax fonts are tested first). On the other hand, this patch will be important for the next MathJax release when the Native MathML will use the fonts from the CDN...
Attachment #651107 -
Attachment is obsolete: true
Reporter | ||
Comment 7•11 years ago
|
||
Reporter | ||
Comment 9•11 years ago
|
||
Hi rushikesh. Thanks for your help, I think the patch I just attached will essentially fix the bug when the new MathJax versions are released. There will be other glyphs to update when the bug I mention in comment 5 is fixed. I guess that will be easy to fix too: that will just be copying the output of layout/mathml/MathJaxFonts.html into the layout/mathml/mathfontMathJax_Main.properties. You can do that if you want, but this depends on the MathJax bug.
Reporter | ||
Comment 10•11 years ago
|
||
rushikesh: for a similar bug that you can try to fix now, see bug 854339.
Comment 11•11 years ago
|
||
Thanks.. I will look in that bug ..
Reporter | ||
Comment 12•10 years ago
|
||
MathJax fonts will be deprecated in favor of Latin Modern fonts (947654).
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•