[luatex] Luaotfload still cannot embed several new CJK fonts in Mac OS X 10.11 El Capitan
Hans Hagen
pragma at wxs.nl
Fri Oct 9 09:24:16 CEST 2015
On 10/9/2015 6:04 AM, Yusuke Terada wrote:
> I've made a font for testing on Kazuki's advice using AFDKO.
>
> You can download it from here:
> https://dl.dropboxusercontent.com/u/5807100/SourceHanSans-Medium-Reduced.ttc
>
> 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.
that patch is not ok (it can result in empty ps names for other fonts
and is also applied in the wrong place in the code) ... keep in mind
that what works for one font can fail for another (and anything you can
imagine that goes wrong with names/string, will go wrong with fonts)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the luatex
mailing list