[XeTeX] About Microsoft YaHei font

Nikola Lecic nlecic at EUnet.yu
Tue May 29 08:58:47 CEST 2007


On Tue, 29 May 2007 12:44:45 +0900
Akira Kakuto <kakuto at fsci.fuk.kindai.ac.jp> wrote:

> > \setromanfont[BoldFont={* Bold}]{Microsoft YaHei}
> > 
> > Then xelatex fail:
> 
> \setromanfont[BoldFont={[msyhbd.ttf]}]{Microsoft YaHei}
> 
> Regular. {\bfseries Bold}
> 
> seems to work.
> 
> Usually, I think
> \setromanfont{Microsoft YaHei}
> \textbf{something}
> should work. But it seems not to work in the case of Microsoft YaHei.

In other X applications too: GTK apps and OpenOffice were unaware of
the bold file at all, despite fc-list's report of separate 'style=Bold'.
After the correction, the font appears in OOo generated PDF like this:

  <</Type/FontDescriptor/FontName/CAAAAA+MicrosoftYaHeiBold

and works as expected.

Nikola Lečić


More information about the XeTeX mailing list