From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38119 Path: news.gmane.org!not-for-mail From: Arthur Reutenauer Newsgroups: gmane.comp.tex.context Subject: Re: mkiv update Date: Tue, 18 Dec 2007 18:42:50 +0100 Message-ID: <20071218174250.GU20328@phare.normalesup.org> References: <4766815A.4080903@wxs.nl> <115224fb0712180213l61c08c92x9b323100af02606f@mail.gmail.com> Reply-To: Mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197999859 31782 80.91.229.12 (18 Dec 2007 17:44:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 17:44:19 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 18 18:44:31 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J4gUV-0003QL-Pz for gctc-ntg-context-518@m.gmane.org; Tue, 18 Dec 2007 18:44:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E5421FC77; Tue, 18 Dec 2007 18:44:08 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11188-01-2; Tue, 18 Dec 2007 18:43:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 637021FC01; Tue, 18 Dec 2007 18:43:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 083971FB62 for ; Tue, 18 Dec 2007 18:43:29 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09242-02-8 for ; Tue, 18 Dec 2007 18:42:52 +0100 (CET) Original-Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by ronja.ntg.nl (Postfix) with ESMTP id D79261FC01 for ; Tue, 18 Dec 2007 18:42:51 +0100 (CET) Original-Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id lBIHgpKl085681 for ; Tue, 18 Dec 2007 18:42:51 +0100 (CET) X-Envelope-To: Original-Received: by phare.normalesup.org (Postfix, from userid 1008) id D302E38078; Tue, 18 Dec 2007 18:42:50 +0100 (CET) Content-Disposition: inline In-Reply-To: <115224fb0712180213l61c08c92x9b323100af02606f@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Tue, 18 Dec 2007 18:42:51 +0100 (CET) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38119 Archived-At: > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________