luaotfload icon indicating copy to clipboard operation
luaotfload copied to clipboard

`base` mode ignores character variants if math script style is activated

Open marcin-serwin opened this issue 2 years ago • 0 comments

MWE

\documentclass{article}
\usepackage{fontspec}

\begin{document}
\fontspec{STIXTwoMath-Regular.otf}[
    Renderer=Base,
    Script=Math,
    CharacterVariant={3},
] ∅ % Correct
\fontspec{STIXTwoMath-Regular.otf}[
    Renderer=Node,
    Script=Math,
    Style=MathScript,
    CharacterVariant={3},
] ∅ % Correct
\fontspec{STIXTwoMath-Regular.otf}[
    Renderer=Base,
    Script=Math,
    Style=MathScript,
    CharacterVariant={3},
] ∅ % Incorrect
\end{document}

produces image All three symbols should be identical.

Causes https://github.com/wspr/unicode-math/issues/587.

marcin-serwin avatar Jun 10 '22 07:06 marcin-serwin