[XeTeX] Slightly embarrassed.... why does \newfontfamily not do what I expect?

Will Robertson wspr81 at gmail.com
Fri Nov 20 07:35:54 CET 2009


On 2009-11-20 10:41:34 +1030, Wilfred van Rooijen 
<wvanrooijen at yahoo.com> said:

> I am trying to use \newfontfamily to set a document with some Japanese 
> characters. I use:
> 
> \newfontfamily\cjkfont{Kozuka Mincho Pro-VI}
> \cjkfont
> 
> When I do so, the text is rendered in Kozuka Mincho Pro, but the CJK 
> characters are not present. When I say:
> 
> \setmainfont{Kozuka Mincho Pro-VI}
> 
> the CJK material does show in the final PDF (but then \textbf{} etc do 
> not work). What am I doing wrong with the \newfontfamily command?

What you're doing looks correct to me. Can you post a minimal example 
of the problem?

Will




More information about the XeTeX mailing list