[XeTeX] Minion Pro and Japanese text
Cyril Niklaus
cyril.niklaus at gmail.com
Sun May 4 02:32:07 CEST 2008
On 4 mai 08, at 07:26, Flavio Costa wrote:
> Hello,
>
> I'm typesetting an UTF-8 text with Adobe Minion Pro font (the one
> that comes with Acrobat Reader) and I have some Japanese kana/kanji
> on it. Instead of getting correct Japanese text, the glyphs are
> replaced by crossed rectangles.
That's because Minion Pro does not have Japanese glyphs. You need to
either use only a Japanese font like you did with IPAGothic and be
content with the roman glyphs provided or indicate the font changes.
Do it by declaring a \newfontfamily, as in here:
%%%%%%
\documentclass[11pt]{article}
\usepackage{fontspec,xunicode}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Minion Pro}
\newfontfamily{\J}[Scale=MatchLowercase]{Hiragino Mincho Pro}
\begin{document}
English, français, português, αβγε, {\J にほんご 日本語}.
\end{document}
%%%%%%%%%%%%
[Scale=0.85] or somesuch number also works, as given in the XeLaTeX
template that comes with TeXShop.
HTH
Cyril
More information about the XeTeX
mailing list