Thursday, October 04, 2012

XeTeX -- using the system fonts for CJK tex files

After using LaTeX for several years, I found XeTeX might be the best choice for Unicode files and therefore for the production of CJK documents.

When producing the CJK documents, it will be convenient to make the system fonts available for XeTeX. Here is a simple method to make it work.

To install system fonts, put *.ttc or *.ttf  files to the following folder:
/usr/share/fonts/truetype

Then build the font information cache files:
$ sudo fc-cache -f -v 

---
ref:
Mac下的Latex中文解決方案: XeTeX
http://www.hitripod.com/blog/2011/04/xetex-chinese-font-cjk-latex/
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=230060#forumpost230060
http://www.tmes.mlc.edu.tw/wiki/index.php/Freefonts
http://www.ptt.cc/bbs/LaTeX/M.1315925855.A.C38.html

No comments:

Post a Comment