[XeTeX] Unicode-Math in LuaLaTeX and XeLaTeX
Mathias Schickel
msch at fa.uni-tuebingen.de
Tue Dec 11 12:18:17 CET 2018
Dear LuaTeX and XeTeX teams,
it seems that recent versions of LuaLaTeX and XeLaTeX contain some issues regarding the rendering of opentype fonts using the unicode-math package. I have already contacted Will Robertson about these bugs because I supposed the unicode-math package could cause them. According to Will the math rendering is done by the engines and not by unicode-math. This is why I am contacting you now.
The first issue is the usage of the staircase kerning boxes of opentype math fonts. They are obviously not applied in expressions like $f_j$ using LuaLaTeX. The index is rendered too far away from the glyph. If we use XeLaTeX we get the correct output.
The second issue is present in both LuaLaTeX and XeLaTeX. If we have an index together with an exponent like j the index is rendered too high – in fact it is risen compared to the expression that uses an index only. A typical example is $f_n^j$.
I have prepared a minimal example that shows the problems and have attached it and the outputs using the current versions of LuaLaTeX and XeLaTeX contained in TeXLive.
For the sake of completeness it should be mentioned that ConTeXt using the LuaTeX engine as well does not show any of these issues. This leads me to the conclusion that either LuaLaTeX does not use the most recent version of LuaTeX or that the issues are not caused by the engine itself.
Maybe you have a clue what leads to the bugs I mentioned. I hope they can be solved soon.
Kind regards,
Mathias Schickel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20181211/ad5b349f/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicode-math.tex
Type: application/x-tex
Size: 500 bytes
Desc: not available
URL: <https://tug.org/pipermail/xetex/attachments/20181211/ad5b349f/attachment-0001.tex>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20181211/ad5b349f/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicode-math-LuaLaTeX.pdf
Type: application/pdf
Size: 72429 bytes
Desc: not available
URL: <https://tug.org/pipermail/xetex/attachments/20181211/ad5b349f/attachment-0002.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20181211/ad5b349f/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unicode-math-XeLaTeX.pdf
Type: application/pdf
Size: 26143 bytes
Desc: not available
URL: <https://tug.org/pipermail/xetex/attachments/20181211/ad5b349f/attachment-0003.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20181211/ad5b349f/attachment-0007.html>
More information about the XeTeX
mailing list