[XeTeX] Fake slanted font variants

d fulano donfulanito at hotmail.com
Thu Jan 19 14:25:13 CET 2012


 

 

Try adding SlantedFont= *  to the list. Also, use FakeSlant (not AutoFakeSlant), eg

 

 

 

\setmainfont[Mapping=tex-text,Ligatures=Common,SlantedFont= *,SlantedFeatures={FakeSlant=0.2}]{Times New Roman}

 

 

 

 

 

 

---------------------------------------- > From: Peter_Dyballa at Web.DE > Date: Wed, 18 Jan 2012 17:13:28 +0100 > To: xetex at tug.org > Subject: [XeTeX] Fake slanted font variants > > Hello! > > When I use my old procedures of > > \newfontface\slanted[FakeSlant=0.194]{Times} > > and then either > > \DeclareRobustCommand{\textsl}[1]{{\slanted #1}} > > or > > \renewcommand{\textsl}[1]{{\slshape #1}} > > > the KOMA-Script letter class scrlttr2 barfs when I use > > \opening{\textsl{Liebes Katerchen,}} > > (although I am not that sure that there is not another bug in my preamble). So I decided to set up the font this way: > > \setmainfont[UprightFont = *-Roman, > BoldFont = *-Bold, > ItalicFont = *-Italic, > BoldItalicFont = *-BoldItalic, > SlantedFeatures = {AutoFakeSlant=0.194}, > % SlantedFeatures = {FakeSlant}, > % AutoFakeSlant = 0.194, % very faulty > % SlantedFont = [FakeSlant=0.194]*, > % SlantedFont = [RawFeature={slant=0.194}], > % BoldSlantedFont = [RawFeature={slant=0.190}]*-Bold] > ]{Times} > > But nothing works and produces the desired result this direct way. Where am I misunderstanding fontspec? > > -- > Greetings > > Pete > > $ sumascii BILL GATES > B I L L G A T E S > 66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 = 663 > > and add 3 because he's Bill Gates the third. > > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex 		 	   		  


More information about the XeTeX mailing list