Is there command to remove font feature that are added by \setmainfont
or \setfontfamily
. I know \addfontfeature
to add font features.
\documentclass[12pt]{book}
\usepackage{fontspec}
\RequirePackage[bidi=basic,layout=contents.footnotes]{babel}
\babelprovide[import, main, mapdigits]{arabic}
\setmainfont[Script=Arabic,StylisticSet=2]{Amiri}
\begin{document}
السماء، لقمان، {السماء، لقمان}
\end{document}
if StylisticSet 2 disabled Meem letter before Alef ـما
will differ.
Best Answer
Perhaps the easiest way to do this is with
RawFeature
: