-
Notifications
You must be signed in to change notification settings - Fork 28
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
Scriptstyle primes in XeLaTeX with XITS font #210
Comments
Troublesome primes! Thanks for the report; I'll attempt to look into this soon. I don't have any idea off the top of my head why this would be the case. |
Both LM Math and Asana Math use large (text size) prime glyphs in the regular slot while XITS and Cumbria use a small one and and |
This appears to be a problem with XITS; it doesn't have a second
In XeTeX, asking for As there is no way to query this information from within XeTeX (not sure about LuaTeX), I'm going to have to say this is a font bug and close the issue here. For what it's worth, you can work around the issue by requesting the "script style" feature even in "script script style" contexts:
The |
Yes, that is a font bug. It was masked by luatex behaviour, but I found about it while ago, I thought I fixed it already, but may be that was another font. I pushed a fix to the repository. |
When compiling a document with XITS Math with XeLaTeX, primes
'
in scriptstyle are not displayed correctly.For example, the document
results in![result with XeLaTeX](https://camo.githubusercontent.com/78458a58a8aa8af44f7cc36da46239bb2273e0aa508dc70e01dfa7deb950bbfb/687474703a2f2f636172616d6469722e61742f75706c6f6164732f696d616765732f6275672532307265706f7274732f584954532532307072696d657325323058652e706e67)
For comparision, LuaLaTeX produces![result with LuaLaTeX](https://camo.githubusercontent.com/7794d45190d8ec101df193f4b7fd6eccd149e8ef42126917f90b6e46a16309f7/687474703a2f2f636172616d6469722e61742f75706c6f6164732f696d616765732f6275672532307265706f7274732f584954532532307072696d65732532304c75612e706e67)
LM Math and Asana Math seem to produce correct outputs, so I don't know whether the problem lies with
unicode-math
, the XITS fonts or XeTeX.The text was updated successfully, but these errors were encountered: