%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% FOR BACKWARDS COMPATIBILITY WITH PREVIOUS VERSIONS %%% \let\newfontinstance\newfontfamily \newcommand\newfeaturecode[3]{% \define@key{zf}{#1}[]{\zf@make@feature{#2}{#3}{}}} \aliasfontfeature{BoldFont}{Bold} \aliasfontfeature{ItalicFont}{Italic} \aliasfontfeature{BoldItalicFont}{BoldItalic} \aliasfontfeature{SmallCapsFont}{SmallCaps} \aliasfontfeature{Style}{StyleOptions} \aliasfontfeature{Contextuals}{Swashes} \aliasfontfeatureoption{Contextuals}{Swash}{Contextual} \aliasfontfeatureoption{Letters}{UppercaseSmallCaps}{SMALLCAPS} \aliasfontfeatureoption{Letters}{UppercasePetiteCaps}{PETITECAPS} %%%%%%%%%%%%%%%%%%%%%%% %%% FOR CONVENIENCE %%% \newfontscript{Kana}{kana} \newfontscript{Maths}{math} \newfontscript{CJK}{hani}