[XeTeX] About Microsoft YaHei font
Nikola Lecic
nlecic at EUnet.yu
Tue May 29 05:28:04 CEST 2007
On Tue, 29 May 2007 10:15:15 +0800
"Dongsheng Song" <dongsheng.song at gmail.com> wrote:
> I use XeTeX for W32 (0.996) from
> http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/web2c75-e.html.
> The fontconfig version is:
>
> C:\xetext\w32tex>fc-cache -V
> fontconfig version 2.4.2
>
> When I use:
>
> \setromanfont[BoldFont={* Bold}]{Microsoft YaHei}
>
> Then xelatex fail:
> ...
> ! Font \@tempfontb="Microsoft YaHei Bold/ICU" at 10.0pt not loadable:
> Metric (T FM) file or installed font not found.
> \\zf at make@font at shapes ...f at suffix " at \f at size pt
> \edef \@tempb
> {\fontname \... l.10 ...anfont[BoldFont={* Bold}]{Microsoft YaHei}
I see. But this works:
\documentclass[a4paper,11pt]{report}
\usepackage{fontspec}
\setromanfont{微软雅黑}
\begin{document}
Hello, \bf{Hello}.
\end{document}
You can find here some observations about fontconfig problematic names
handling/groupping in version 2.4.2 (in comparison with 2.3.X, which
itself has some other flaws):
http://tug.org/pipermail/xetex/2007-April/006364.html
Nikola Lečić
More information about the XeTeX
mailing list