18 Dec
2007
18 Dec
'07
6:42 p.m.
2. also mkiv, ConTeXt has problems to load more than one cid font in one document, loading only font but for more fonts on the first is recognized and all followings fonts can't be loaded.
I can confirm that. Hans, the problem is in the fonts.otf.cidmap function in font-otf.lua: if it has already found an appropriate cidmap, the "if not fonts.otf.cidmaps[filename]" test fails and returns nothing. You need to add a matching "else" clause, something like "else return fonts.otf.cidmaps[filename]" (I just made this addition and recompiled the formats, and it works). Arthur