XeLaTeX
How can I set different font for all italic in the document?
\setromanfont[StylisticSet=2,
ItalicFont={Phenomena Light},
{Cormorant Medium} % Основной шрифт текста
It's work. But I can't set ItalicFont size
\setromanfont[StylisticSet=2,
ItalicFont={Phenomena Light},
ItalicFeatures={FontSize=11pt}]
{Cormorant Medium} % Основной шрифт текста
Don't work, get an error.
The size of the main text 12pt. The font for italics is slightly higher than the main text.
\setromanfont
is deprecated; use\setmainfont
instead.