Since recently I am using LuaLaTeX with the most recent beta version of Microtype, along with the fonts Minion Pro and Myriad Pro. In the manual of Microtype it says:
Currently, this package provides protrusion settings for [...] Adobe Garamond and Minion, [...] as well as some generic settings for unknown fonts
(cf. table 3 on page 21)
Currently, I just include the fonts like this (with some other font definitions for headings etc. settings left out here):
\defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase}
\setmainfont[SmallCapsFeatures={LetterSpace=6}, Numbers={Proportional,OldStyle}]{Minion Pro}
\setsansfont[LetterSpace=3, Numbers={Proportional,OldStyle}]{Myriad Pro}
But this way I still get the following message from Microtype
:
Package microtype Warning: Loading generic settings for font family `MinionPro'
How can I load the correct settings? Also, is there a way to avoid all these warnings I get for fonts that are not supported, and Microtype just loads the generic settings?
microtype
are for the Type1 variant of traditional LaTeX. Since you're usingLuaLaTeX
andfontspec
you're probably using a much newer OpenType version of the fonts. Therefore the settingsmicrotype
comes with are useless for you. You need completely new ones – which don't exist yet, at least not publicly.