[luatex] Luaotfload still cannot embed several new CJK fonts in Mac OS X 10.11 El Capitan
h.y.acetaminophen at gmail.com
Fri Oct 9 08:15:24 CEST 2015
I think Kazuki says:
It is true that **most of** the collection fonts available in the world have a subfont
whose postscript name is exactly same as its fontname, however, it is NOT true
that **all of** the collection fonts do.
And he is right: some of the examples are Apple's new CJK fonts and what Yusuke
has sent to us. And the patch Kazuki has sent works fine, I think.
2015/10/09 13:04、Yusuke Terada <taylorkgb at gmail.com> のメッセージ:
> I've made a font for testing on Kazuki's advice using AFDKO.
> You can download it from here:
> If you compile the attached luaotfload_test.tex with plain-LuaTeX 0.81.0, you will get this error:
> <./SourceHanSans-Medium-Reduced.ttc(SourceHanSans-Medium:-1)Invalid TTC index number
> After applying the patch Kazuki submitted yesterday to fontloader, this source can be compiled correctly.
> Yusuke Terada
>> 2015/10/09 11:20、Kazuki Maeda <kmaeda at kmaeda.net> のメール：
>> SourceHanSans-Medium.ttc has the following metadata:
>> and four subfonts:
>> In this case, ("postscriptname" of the subfont 0) == ("fontname" of SourceHanSans-Medium.ttc).
>> Therefore, "Invalid TTC index number" error does not occur.
>> If you delete subfont 0 from the ttc, you may get the error.
>> Best regards
>> Kazuki Maeda
More information about the luatex