[XeTeX] section styling breaks with sections, intercharclasses and fontspec

Will Robertson wspr81 at gmail.com
Mon Nov 16 00:46:30 CET 2009


On 2009-11-15 22:22:19 +1030, Peter Dyballa 
<Peter_Dyballa at Web.DE> said:

> The problem is that the italic variants of bold and regular are not  
> found, which leads to a declaration like
> 
> 	\setmainfont[ItalicFont=HiraKakuPro-W3,ItalicFeatures={RawFeature= +ital},
> 		 BoldItalicFont=HiraKakuPro-W6,BoldItalicFeatures={RawFeature=+ital},
> 		       BoldFont={HiraMinPro-W6}]{HiraMinPro-W3}
> 
> (and similarly for the Kaku version). Well, it only plays a role when  
> writing in an alphabetic script. \newfontfamily does not seem to  allow 
> such detailed declaration.

You should just be able to write \newfontfamily\name[options]{font}. 
This isn't well documented; I'll improve it.

Thanks,
Will




More information about the XeTeX mailing list