unicode-math creates math alphabets from the text fonts. Normally this create a new family XXX(1), but if the text font used the NFSSFamily key, unicode math defines the same family, and as it changes the Renderer to Basic actually can overwrite the Renderer of the text font. Imho it would be better if unicode math would always force a new family name.
Add info or delete as appropriate:
Relevant for LuaTeX
Issue tracker has been searched for similar issues?
Minimal example demonstrating the issue
The example demonstrates the problem with the harfbuzz renderer, some accents are placed better with this renderer and so give a visual impression. But node mode is affected too. \defaultfontfeatures is used to get the right order.
Description
unicode-math creates math alphabets from the text fonts. Normally this create a new family
XXX(1)
, but if the text font used theNFSSFamily
key, unicode math defines the same family, and as it changes the Renderer to Basic actually can overwrite the Renderer of the text font. Imho it would be better if unicode math would always force a new family name.Add info or delete as appropriate:
Minimal example demonstrating the issue
The example demonstrates the problem with the harfbuzz renderer, some accents are placed better with this renderer and so give a visual impression. But node mode is affected too.
\defaultfontfeatures
is used to get the right order.