[XeTeX] Res: Minion Pro and Japanese text

Andrew Cunningham lang.support at gmail.com
Sun May 4 06:54:17 CEST 2008


yes the file was UTF-8, and seemed to have one PUA character in it,
not sure what that character was supposed ot be.

Andrew

2008/5/4 Flavio Costa <flaviocosta at yahoo.com.br>:
> Hi Johannes, I've double-checked I'm saving the file in UTF-8, maybe the font in your editor does not contain the glyphs.
>
>  Hi Cyril, I tried to get Japanese from Minion Pro because the characters appear in Windows' Character Map (I've attached a screenshot). I downloaded and tried other font viewers to make sure it is not just a "special feature" of Character Map, but I could not find even one decent free font manager for Windows...
>
>  Thanks,
>
>  Flavio
>
>  ----- Mensagem original ----
>  De: Cyril Niklaus <cyril.niklaus at gmail.com>
>  Para: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
>  Enviadas: Sábado, 3 de Maio de 2008 21:32:07
>  Assunto: Re: [XeTeX] Minion Pro and Japanese text
>
>
>
>  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
>  _______________________________________________
>
> XeTeX mailing list
>  postmaster at tug.org
>  http://tug.org/mailman/listinfo/xetex
>
>
>
>
>       Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
>  http://br.mail.yahoo.com/
> _______________________________________________
>  XeTeX mailing list
>  postmaster at tug.org
>  http://tug.org/mailman/listinfo/xetex
>
>



-- 
Andrew Cunningham
Vicnet Research and Development Coordinator
State Library of Victoria
Australia

andrewc at vicnet.net.au
lang.support at gmail.com


More information about the XeTeX mailing list