[XeTeX] Problem with Japanese font

Jonathan Kew jonathan_kew at sil.org
Sun Feb 10 23:14:28 CET 2008


On 10 Feb 2008, at 7:20 pm, Ross Moore wrote:

> Hi Cyril,
>
> On 11/02/2008, at 2:14 AM, Cyril Niklaus wrote:
>
>> But if you want only Japanese, you could only use \japanese without
>> quotes or simply:
>> %%%%%%%%%%%
>>    \documentclass[12pt]{article}
>>    \usepackage{fontspec, xltxtra, xunicode}
>> \setmainfont{Osaka}
>>      \XeTeXlinebreaklocale ja
>>    \begin{document}
>> %Excerpt from <http://headlines.yahoo.co.jp/hl?a=20080116-00000993-
>> san-soci
>>>
>> 約半年ぶりに本場所に復帰したモンゴル出身の横
>> 綱・
>> 朝青龍。相変わらずの“ダーティー・ヒー
>> ロー”ぶり
>> に、モンゴルの文化や生活を紹介する兵庫県豊岡
>> 市但
>> 東町の「日本・モンゴル民族博物館」が困惑してい
>> る。今年のメーン展示にモンゴル相撲を企画した
>> が、
>> 朝青龍騒動で「イメージが悪くなる」と見送っ
>> た。同
>> 館は「朝青龍がダーティーなイメージを払拭(ふっ
>> しょく)しない限り、実現は難しい」としている。
>> \end{document}
>> %%%%%%%%%%
>
> This example doesn't work for me.
>    xdvipdfmx  fails, producing the following messages:
>
>
> rossmoor% xdvipdfmx-0997 japtest2.xdv
> japtest2.xdv -> japtest2.pdf
> [1
> ** WARNING ** Unknown 'post' version: 00040000
> ** ERROR ** Could not obtain necessary font info.
>
> Output file removed.

So it does. I guess it worked for Cyril because he was using xdv2pdf,  
probably.

I've just checked-in an update for xdvipdfmx so that it won't die on  
fonts with format 4.0 'post' tables; this is apparently a  
(relatively) new format that Apple has defined, and I hadn't run into  
it previously.

JK



More information about the XeTeX mailing list