\input{umtest-preamble}
\usepackage{unicode-math}
\begin{document}
\setmathfont{XITS Math}
\[
  \mathscr{\LATINtext}
\]
\[
  \mathcal{\LATINtext}
\]
\setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{XITS Math}
\[
  \mathscr{\LATINtext}
\]
\[
  \mathcal{\LATINtext}
\]
\footnotesize
\[
  \mathbfcal{\LATINtext}
\]
\end{document}
