[XeTeX] Fontspec question win32

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Sun Jul 23 10:07:16 CEST 2006


> I would like to make the Semibold font the default for \bfseries.
> fc-list (after fc-cache -f -v) under win32 gives me the following 
> information :
> 
> Warnock Pro SmBd,Warnock Pro:style=Regular,Semibold
> 
> \setromanfont[Mapping=tex-text]{Warnock Pro} OK, no substitution works 
> as expected
> 
> -> Now I try to define the default bold font :
> 
> \setromanfont[Mapping=tex-text]{Warnock Pro}
> \fontspec[BoldFont = {Warnock Pro SmBd Regular Semibold}]{Warnock Pro}
> 
> gives the following error message :

I'm not so familiar with fontspec, but try
\setromanfont[BoldFont={* Semibold},Mapping=tex-text]{Warnock Pro}
...
\begin{document}
This is a test. \textbf{This is a test.}
\end{document}

Thanks,
Akira


More information about the XeTeX mailing list