[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
http://www.flyupload.com/?fid=836890169
The test tex file (utf-8 encoded) can be downloaded from
http://www.flyupload.com/?fid=550275384
I have run fc-cache to cache this TrueType font. Here is the corresponding
font info by fc-list:
ººÒÇ´ÖËμò,HYCuSongJ:style=regular
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
fails.
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