\documentclass{article}
\usepackage{unicode-math}
\setmathfont[StylisticSet=2]{STIX2Math.otf}
\begin{document}
\[
\displaystyle g \textstyle g \scriptstyle g \scriptscriptstyle g
\]
\end{document}
Here is the result:
Further details
I am using TeX Live 2018 with all packages up-to-date.
The example works fine with LuaLaTeX (tested by moewe). But XeLaTeX does not change the letters.
Description
The letters in
\scriptstyle
does not change to variant form.Check/indicate
Minimal example demonstrating the issue
Here is the result:
Further details
I am using TeX Live 2018 with all packages up-to-date.
The example works fine with LuaLaTeX (tested by moewe). But XeLaTeX does not change the letters.