I would like to use LuaLaTeX with unicode-math to use some OTF math font, but when I switch on unicode-math the spacing in integrals looks bad. Compare the result with the legacy Computer Modern Math font
\documentclass{article}
\begin{document}
\[
\int_{-A}^{B} dx
\]
\end{document}
with OTF Latin Modern Math
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\[
\int_{-A}^{B} dx
\]
\end{document}
\setmathfont{XITS Math} looks even worse
Is there a problem with my installation (fully upgraded TeX Live 2016 on linux, luatex -v gives Version 0.95.0) or this is the best that I should expect with unicode-math?




{A}in both cases but your sample images show-Athe image I showed is based n the code posted.... – David Carlisle Feb 06 '17 at 21:35{-A}– Marco Feb 06 '17 at 21:51.lfg(font goodies) distributed with ConTeXt. – Aditya Feb 07 '17 at 02:02