Hello, is the following an engine bug?
thank you,
Antonis.
When switching Math fonts lualatex fails to read the current
RadicalRootThickness parameter.
But xelatex does it correctly.
MWE follows:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{NewCMMath-Bold.otf}
\setmathfont[range={\mathscr,\mathbfscr}]{NewCMMath-Book.otf}
\setmathfont{NewCMMath-Bold.otf}
\begin{document}
\[
\sqrt{\frac{\displaystyle\sum_{n=1}^\infty
a_n}{\displaystyle\sum_{n=1}^\infty a_n}}%
\]
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
luatex --version
This is LuaTeX, Version 1.24.0 (TeX Live 2026)
Development id: 7724
The Bold Math font sets RadicalRootThickness=70
But lualatex keeps the previous value from the Book font
at 48.