Created
October 4, 2021 00:01
-
-
Save patrl/021381da24b52729ccbb154d00730771 to your computer and use it in GitHub Desktop.
Fontspec settings for minion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\RequirePackage{microtype} | |
\RequirePackage{fontspec} | |
\defaultfontfeatures{Scale=MatchLowercase} | |
\setmainfont[% | |
UprightFeatures={ | |
SizeFeatures={ | |
{Size={-8.4},Font=MinionPro-Capt}, | |
{Size={8.4-13},Font=MinionPro-Regular}, | |
{Size={13-19.9},Font=MinionPro-Subh}, | |
{Size={19.9-},Font=MinionPro-Disp} | |
}, | |
}, | |
BoldFeatures={ | |
SizeFeatures={ | |
{Size={-8.4},Font=MinionPro-BoldCapt}, | |
{Size={8.4-13},Font=MinionPro-Bold}, | |
{Size={13-19.9},Font=MinionPro-BoldSubh}, | |
{Size={19.9-},Font=MinionPro-BoldDisp} | |
}, | |
}, | |
ItalicFeatures={ | |
SizeFeatures={ | |
{Size={-8.4},Font=MinionPro-ItCapt}, | |
{Size={8.4-13},Font=MinionPro-It}, | |
{Size={13-19.9},Font=MinionPro-ItSubh}, | |
{Size={19.9-},Font=MinionPro-ItDisp} | |
}, | |
}, | |
BoldItalicFeatures={ | |
SizeFeatures={ | |
{Size={-8.4},Font=MinionPro-BoldItCapt}, | |
{Size={8.4-13},Font=MinionPro-BoldIt}, | |
{Size={13-19.9},Font=MinionPro-BoldItSubh}, | |
{Size={19.9-},Font=MinionPro-BoldItDisp} | |
}, | |
}, | |
]{Minion Pro} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment