[XeTeX] How to use Chinese Font HYCuSongJ in XeTeX?

mathmhb@gmail mhbezine2009 at gmail.com
Mon Jun 29 09:10:30 CEST 2009

Hi, does any one know how to use Chinese TTF HYCuSongJ in XeTeX?

This chinese font can be downloaded from  

The test tex file (utf-8 encoded) can be downloaded from  

I have run fc-cache to cache this TrueType font. Here is the corresponding  
font info by fc-list:


If I use the Chinese font name in \setromanfont{...}, I got an error like

kpathsea: Invalid fontname `汉仪粗宋箢ã', contains '?
! Font \zf at basefont=汉仪粗宋箢ã at 12.0pt not loadable: Metric (TFM)  
file or installed font not found.

If I use the English font name HYCuSongJ in \setromanfont{...}, the xetex  
engine will automatically invoke "mktextfm HYCuSongJ", which of course  

I have tried my other chinese fonts, all of them except HYCuSongJ work  
well. I wonder whether anybody can explain how to use HYCuSongJ in XeTeX.  
Many thanks!

More information about the XeTeX mailing list