Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

greek characters in 'mi' with mathvariant="normal" are italicized when using the svg renderer #592

Closed
svacha opened this issue Sep 30, 2013 · 3 comments

Comments

@svacha
Copy link

svacha commented Sep 30, 2013

Testing the following MathML content on the MathJax demo page (http://www.mathjax.org/demos/ ):

<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi>θ</mi>
<mi mathvariant="normal">θ</mi>
<mi mathvariant="italic">θ</mi>
<mtext>θ</mtext>
<mi mathvariant="sans-serif">θ</mi>
<mi mathvariant="sans-serif-italic">θ</mi>
</math>

Choosing the SVG math renderer, there is no difference between the display of the first four thetas (all as italics), but I would expect the second and fourth to be not italics. The HTML-CSS renderer does show the second and fourth as not italics.

Does the SVG renderer not have the glyphs for the non-italicized greek characters?

Tested on Chrome Version 29.0.1547.76.

@dpvc
Copy link
Member

dpvc commented Sep 30, 2013

Does the SVG renderer not have the glyphs for the non-italicized greek characters?

Correct. Neither does the HTML-CSS renderer. But v2.3 will include a number of new web-based fonts, so that will help with this situation.

@dpvc
Copy link
Member

dpvc commented Sep 30, 2013

(I'm marking this a feature request since it is not really a bug.)

@dpvc
Copy link
Member

dpvc commented Jul 7, 2021

MathJax now maps the Greek letters to their Math Alphanumerics positions, when there are one for the given mathvariant. If the fonts don't include the needed character, they are taken from a system font (when possible). I think this was in v3.0.4.

@dpvc dpvc closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants