I am using a Mac and have installed the MacTeX-2014 distribution. I'd like to try to use the CJK package with regular pdflatex but there is no documentation for what Chinese fonts are included with this distribution (or TeX Live that MacTeX is based on).

The MacTex directory structure is a bit of a mystery to me. How can I discover what Chinese fonts are installed with this distribution, either by looking at the files, or perhaps there is documentation available that I have not found?

  • There is a package cjk-fonts on CTAN but it is not part of TeX Live, so you would need to install it yourself. Have you considered using XeTeX or LuaTeX? Then you could use system fonts. – cfr Jan 19 '15 at 17:32
  • @cfr Why isn't cjk-fonts included in texlive? – Sverre Jan 19 '15 at 17:49
  • 3
    I can't speak for the TeX Live team, but the licence on CTAN is listed as 'Un­known Sta­tus, No In­for­ma­tion Avail­able'. TeX Live includes only material covered by some form of free licence (e.g. GPL, LPPL, OFL etc.) Note that this related to the reason that documentation is missing for some packages, but available on CTAN: the author is unable, unwilling or whatever to provide the source. – cfr Jan 19 '15 at 18:16
  • 2
    @cfr: It is renamed arphic. – Leo Liu Jan 24 '15 at 16:24
  • 1
    @LeoLiu How confusing! – cfr Jan 24 '15 at 16:27

You don't alway use the font installed with TeX Live. You can use any font you have if you use XeTeX or LuaTeX. It is preferred to use xeCJK package for Chinese and you don't need to worry about what fonts are installed with TeX distribution.

For Chinese, there are only these fonts preinstalled in TeX Live (MacTeX):

  1. For pdfLaTeX (with CJK bundle), only Arphic fonts are provided. Say, the arphic package in TeX Live.

    Two CJK font families are available for Simplified Chinese, gbsn and gkai. And two other CJK font families are available for Traditional Chinese, bsmi and bkai.

    But do not use these fonts if you have other choices.

    enter image description here

    % !TEX encoding = UTF-8
    % !TEX program = pdflatex
    % We always use CJK package globally to prevent some bugs.
  2. For XeLaTeX (with xeCJK) or LuaLaTeX (with luatexja-fontspec), you can use any Chinese font installed in the Mac OS X system. Anyway, there are also four Fandol fonts for Simplified Chinese installed in TeX Live. See the fandol package in TeX Live.

    enter image description here

    % !TEX encoding = UTF-8
    % !TEX program = xelatex
    {\kaiti 饭朵楷体}
    {\CJKfontspec{Hiragino Sans GB W3.otf}
    冬青黑体 or any other font installed in your system.}
  • It turns out that the Fandol fonts are extremely incomplete. A test section of writing turned out about 30% missing characters. I would like to avoid fonts that I might not have access to if I move the document to another computer to compile. I think I'm sticking with bkai for the time being. I'm not sure why people are against the arphic fonts but they look okay to me. – ana Feb 1 '15 at 18:32
  • @ana: Fandol fonts are Simplified Chinese fonts. If you need Traditional Chinese, you have to use other fonts (usually commercial). – Leo Liu Feb 2 '15 at 6:29
  • @ana: It is a bad news that there is NO free Chinese font installed with TeX distribution that is suitable for both Simplified and Traditional Chinese. You have to use other fonts in your operating system. – Leo Liu Feb 2 '15 at 6:31
  • how can I install these fonts via TexLive? or in Ubuntu? – Yan King Yin Dec 17 '18 at 5:54

To find out what Chinese font you have in your laptop, bring up the terminal and type in

fc-list :lang=zh-cn > zwzt.txt

The command will produce a text file named zwzt.txt or however you would name it, with all Chinese font listed.

If a utf8 ignorance error is reported, run the following

export LC_CTYPE="en_US.UTF-8"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.