When a font family is defined with NFSSfamily and several FontFace, using \addfontfeature relaxes all defined font shapes except that one currently used.
I came across this because of an error with package microtype due to this behavior. The package stores all used font shapes in \MT@font@list by hooking into \pickup@font but can not execute a specific \font@name as it is undefined after using \addfontfeature.
Check/indicate
[x] Relevant for XeTeX
[x] Relevant for LuaTeX
[x] Issue tracker has been searched for similar issues?
Description
When a font family is defined with
NFSSfamily
and severalFontFace
, using\addfontfeature
relaxes all defined font shapes except that one currently used.I came across this because of an error with package
microtype
due to this behavior. The package stores all used font shapes in\MT@font@list
by hooking into\pickup@font
but can not execute a specific\font@name
as it is undefined after using\addfontfeature
.Check/indicate
Minimal example demonstrating the issue
Further details