MathJax braces with HTML-CSS renderer broken when browser.display.use_document_fonts is 0




Layout: Text
3 years ago
3 years ago


(Reporter: Vincent Lefevre, Unassigned)


32 Branch

Firefox Tracking Flags

(Not tracked)



(2 attachments)



3 years ago
Created attachment 8517765 [details]
snapshot showing the bug with the HTML-CSS renderer

With MathJax, when the HTML-CSS renderer is used, the horizontal braces are not correctly rendered when browser.display.use_document_fonts is set to 0 (allowing pages to choose their own font is off).

Example: (currently in the second paragraph, after "For example:"). See the attached snapshot.

Comment 1

3 years ago
Created attachment 8517770 [details]
snapshot showing what is seen with the MathML renderer (correct)

I've attached a second snapshot, showing what is seen when the MathML renderer is used. No problems with this renderer.
Isn't the HTML-CSS renderer just depending on particular font metrics that are correct for the font it specifies but not the one used as a fallback when you disallow the document from specifying fonts?

Comment 3

3 years ago
No, if you look at the snapshot, the cause isn't the font metrics since there is really garbage. It seems that undefined Unicode characters are used for that. It appears to be similar to bug 789788.
You need to log in before you can comment on or make changes to this bug.