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

Peter Dyballa Peter_Dyballa at Web.DE
Sat Nov 14 00:25:36 CET 2009


Am 13.11.2009 um 23:03 schrieb Peter Dyballa:

> It's not possible to select the all variants inside a \cjkfont  
> environment... (Bold-Italic is missing)


Because there is a bug in fontspec! This

	\setmainfont[ItalicFont=HiraKakuPro-W3,ItalicFeatures={RawFeature= 
+ital},BoldItalicFont=HiraKakuPro-W6,ItalicFeatures={RawFeature= 
+ital},BoldFont=HiraMinPro-W6]{HiraMinPro-W3}

does not work, but these two do:

	\setmainfont[ItalicFont={HiraKakuPro-W3:+ital},BoldItalicFont= 
{HiraKakuPro-W6:+ital},BoldFont=HiraMinPro-W6]{HiraMinPro-W3}
	\setmainfont[ItalicFont=HiraKakuPro-W3,ItalicFeatures={RawFeature= 
+ital},BoldItalicFont=HiraKakuPro-W6:+ital,BoldFont=HiraMinPro-W6] 
{HiraMinPro-W3}


--
Greetings

   Pete

They that can give up essential liberty to obtain a little temporary  
safety deserve neither liberty nor safety.
		-Benjamin Franklin, Historical Review of Pennsylvania



More information about the XeTeX mailing list