2

Can anyone recommend a font that has good coverage of kanji characters that I can use with xelatex on Linux? My immediate problem is typesetting the name Suzuki Matoshi (鈴木眞年).

I'm not sure that a MWE is particularly useful, but I'll be criticised if I don't provide one, so here's one:

\documentclass[a4paper,11pt]{article}
\usepackage{xeCJK}
\setCJKmainfont[BoldFont=FandolSong-Bold.otf,ItalicFont=FandolKai-Regular.otf]{FandolSong-Regular.otf}
\begin{document}
Suzuki Matoshi (鈴木眞年).
\end{document}

The first and third characters of his name are not rendered in this font.

(A constraint that may be relevant is that I am using a 2013 version of xelatex, and cannot easily upgrade. This rules out certain fonts due to this bug in xetex.)

4

Do you have the ST fonts?

\documentclass[a4paper,11pt]{article}
\usepackage{xeCJK}
\setCJKmainfont[BoldFont=STHeiti,ItalicFont=STKaiti]{STSong}
\begin{document}
Suzuki Matoshi (鈴木眞年).

\textbf{Suzuki Matoshi (鈴木眞年).}

\textit{Suzuki Matoshi (鈴木眞年).}
\end{document}

enter image description here

Edit:

It seems the ST fonts are for OS X, not linux. Sorry about that. You may be able to install Aozora Mincho, or Google's Noto Sans CJK. Both fonts have multiple weights but of course no italics. You can fake italics if you want to (see below).

Using above example with

\setCJKmainfont[BoldFont=AozoraMincho-bold,AutoFakeSlant=0.15]{Aozora Mincho}

enter image description here

and

\setCJKmainfont[BoldFont=NotoSansCJKjp-Bold,AutoFakeSlant=0.15]{Noto Sans CJK JP}

enter image description here

  • Unfortunately, it seems not, and I can't find them package for Mint Linux. – richard Mar 31 '16 at 2:43
  • What about the IPAex fonts? Are you able to install them? No bold or italic though. – erik Mar 31 '16 at 2:55
  • Aozora Mincho aren't packaged for Mint Linux, though I could probably install them by hand. Noto Sans CJK is, unfortunately, one of the fonts that requires a more recent version of xelatex. However your suggestion of Aozora Mincho got me trying some other fonts with "Mincho" in their name, and Takao Mincho works nicely, and looks to my untrained eye fairly similar to ST Song. Takao Gothic seems to work as the sans font. So I have a solution. Thanks for your help! – richard Mar 31 '16 at 23:36
  • In the end I went with the Noto fonts and set up a chroot to allow me to run a more recent version of xetex. – richard Apr 12 '16 at 17:56

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.