von Seccerony » Do 21. Sep 2017, 19:21
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
hinzufügen...
es sieht dann so aus:
\setmainfont{MinionPro}[Path=fonts/serif/,Extension=.otf,Kerning=On,Numbers={Proportional,OldStyle},Style=Historic,Scale=1,Ligatures=Common,
UprightFont=*,ItalicFont=*-Italic,BoldFont=*-Semibold,BoldItalicFont=*-SemiboldItalic,
UprightFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-Caption},
{Size = {8.4-13}, Font = *},
{Size = {13-19.9}, Font = *-Subhead},
{Size = {19.9-}, Font = *-Display}}},
ItalicFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-ItalicCaption},
{Size = {8.4-13}, Font = *-Italic},
{Size = {13-19.9}, Font = *-ItalicSubhead},
{Size = {19.9-}, Font = *-ItalicDisplay}}},
BoldFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-SemiboldCaption},
{Size = {8.4-13}, Font = *-Semibold},
{Size = {13-19.9}, Font = *-SemiboldSubhead},
{Size = {19.9-}, Font = *-SemiboldDisplay}}},
BoldItalicFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-SemiboldItalicCaption},
{Size = {8.4-13}, Font = *-SemiboldItalic},
{Size = {13-19.9}, Font = *-SemiboldItalicSubhead},
{Size = {19.9-}, Font = *-SemiboldItalicDisplay}}}]
[code]UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,[/code]
hinzufügen... :oops:
es sieht dann so aus:
[code]\setmainfont{MinionPro}[Path=fonts/serif/,Extension=.otf,Kerning=On,Numbers={Proportional,OldStyle},Style=Historic,Scale=1,Ligatures=Common,
UprightFont=*,ItalicFont=*-Italic,BoldFont=*-Semibold,BoldItalicFont=*-SemiboldItalic,
UprightFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-Caption},
{Size = {8.4-13}, Font = *},
{Size = {13-19.9}, Font = *-Subhead},
{Size = {19.9-}, Font = *-Display}}},
ItalicFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-ItalicCaption},
{Size = {8.4-13}, Font = *-Italic},
{Size = {13-19.9}, Font = *-ItalicSubhead},
{Size = {19.9-}, Font = *-ItalicDisplay}}},
BoldFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-SemiboldCaption},
{Size = {8.4-13}, Font = *-Semibold},
{Size = {13-19.9}, Font = *-SemiboldSubhead},
{Size = {19.9-}, Font = *-SemiboldDisplay}}},
BoldItalicFeatures = { SizeFeatures = {
{Size = {-8.4}, Font = *-SemiboldItalicCaption},
{Size = {8.4-13}, Font = *-SemiboldItalic},
{Size = {13-19.9}, Font = *-SemiboldItalicSubhead},
{Size = {19.9-}, Font = *-SemiboldItalicDisplay}}}][/code]