[XeTeX] About Microsoft YaHei font

Dongsheng Song dongsheng.song at gmail.com
Sun May 27 11:14:26 CEST 2007


I'm new to xetex, When I use

\setromanfont{Microsoft YaHei}

The pdf output not deal bold style,  but the 'Microsoft YaHei' font
has Bold style:

E:\usr\xetex>fc-list |  grep YaHei
Microsoft YaHei,微软雅黑:style=Bold
Microsoft YaHei,微软雅黑:style=Regular

Now I have to use:

\fontspec[ExternalLocation]{msyhbd.ttf}
The five boxing wizards jump quickly.\\

or

\font\CBL="[C:/WINDOWS/Fonts/msyhbd.ttf]" at 24 pt
\CBL The five boxing wizards jump quickly.

What's the proper usage for set default document fonts using YaHei?

---
Dongsheng


More information about the XeTeX mailing list