[luatex] Luaotfload still cannot embed several new CJK fonts in Mac OS X 10.11 El Capitan

Yusuke Terada taylorkgb at gmail.com
Sun Oct 11 09:31:00 CEST 2015


Dear Hans, 

I've tested the new context beta whose version is:
> mtx-context     | current version: 2015.10.09 21:28


I've confirmed that Hironobu's test source posted at http://tug.org/pipermail/luatex/2015-October/005396.html can be compiled correctly.

Moreover, most of the new CJK fonts of El Capitan can be loaded.
Here is the test source:

%%%%%%%%%%%
\definefont[xxxa][name:HiraginoSans-W0]
\definefont[xxxb][name:HiraginoSans-W1]
\definefont[xxxc][name:HiraginoSans-W2]
\definefont[xxxd][name:HiraginoSans-W3]
\definefont[xxxe][name:HiraginoSans-W4]
\definefont[xxxf][name:HiraginoSans-W5]
\definefont[xxxg][name:HiraginoSans-W6]
\definefont[xxxh][name:HiraginoSans-W7]
\definefont[xxxi][name:HiraginoSans-W8]
\definefont[xxxj][name:HiraginoSans-W9]
\definefont[yyya][name:Klee-Medium]
\definefont[yyyb][name:Klee-Demibold]
%\definefont[zzza][name:TsukuARdGothic-Regular]
%\definefont[zzzb][name:TsukuARdGothic-Bold]
%\definefont[zzzc][name:TsukuBRdGothic-Regular]
%\definefont[zzzd][name:TsukuBRdGothic-Bold]

\starttext

\xxxa ヒラギノ角ゴシック W0\par
\xxxb ヒラギノ角ゴシック W1\par
\xxxc ヒラギノ角ゴシック W2\par
\xxxd ヒラギノ角ゴシック W3\par
\xxxe ヒラギノ角ゴシック W4\par
\xxxf ヒラギノ角ゴシック W5\par
\xxxg ヒラギノ角ゴシック W6\par
\xxxh ヒラギノ角ゴシック W7\par
\xxxi ヒラギノ角ゴシック W8\par
\xxxj ヒラギノ角ゴシック W9\par
\yyya クレー ミディアム\par
\yyyb クレー デミボールド\par
%\zzza 筑紫A丸ゴシック レギュラー\par
%\zzzb 筑紫A丸ゴシック ボールド\par
%\zzzc 筑紫B丸ゴシック レギュラー\par
%\zzzd 筑紫B丸ゴシック ボールド\par

\stoptext
%%%%%%%%%%%

Some lines are commented out, because these fonts cause errors like this:

> Invalid TTC index number -1 (0..1), using index 0 for font TsukuARdGothic-Regular

These fonts (TsukushiAMaruGothic.ttc and TsukushiBMaruGothic.ttc) are, however, not so essential for Japanese typesetting that fixing this issue is an urgent matter.
I am very happy to see most of the new CJK fonts handled correctly with ConTeXt.
Thank you very much.

Sincerely,

Yusuke Terada




More information about the luatex mailing list