From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59002 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Two problems about CJK fonts with the beta (2010.05.22) Date: Sun, 23 May 2010 10:43:05 +0200 Message-ID: <4BF8EA99.4000703@elvenkind.com> References: <4BF8E189.2040602@elvenkind.com> <4BF8E896.7080303@elvenkind.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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274604195 21189 80.91.229.12 (23 May 2010 08:43:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 May 2010 08:43:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 23 10:43:13 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OG6m9-0000N5-Qd for gctc-ntg-context-518@m.gmane.org; Sun, 23 May 2010 10:43:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E1074C9BFB; Sun, 23 May 2010 10:43:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SC8CkVY2LBsU; Sun, 23 May 2010 10:43:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 357DFC9BDC; Sun, 23 May 2010 10:43:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AEC76C9BDC for ; Sun, 23 May 2010 10:43:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WC0TP8lDArLu for ; Sun, 23 May 2010 10:43:05 +0200 (CEST) Original-Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by balder.ntg.nl (Postfix) with ESMTP id A9100C9BD0 for ; Sun, 23 May 2010 10:43:05 +0200 (CEST) Original-Received: from [192.168.178.26] (boo.demon.nl [83.163.247.99]) (authenticated bits=0) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id o4N8h5s3031522 for ; Sun, 23 May 2010 10:43:05 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.23 (X11/20090822) In-Reply-To: <4BF8E896.7080303@elvenkind.com> X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:59002 Archived-At: Taco Hoekwater wrote: >>> 2. the cid fonts cause MkIV gives a waring as following: >>> >>> LuaTeX warning: lua-loaded font [44] >>> (/usr/share/fonts/adobe/AdobeSongStd-Light) has no characters! >> >> Verified, same here, even with the official current. > > Something is broken in the handling of the 'subfonts' key, but I haven't > figured out what (yet?). The 'merge cid fonts' enhancer is broken. It starts by testing data.glyphs, but this is the field it is supposed to fill (!). The patch is a one-liner: --- font-otf.lua~ 2010-05-23 10:20:10.979586135 +0200 +++ font-otf.lua 2010-05-23 10:39:51.954338034 +0200 @@ -576,7 +576,7 @@ otf.enhancers["merge cid fonts"] = function(data,filename) -- we can also move the names to data.luatex.names which might -- save us some more memory (at the cost of harder tracing) - if data.subfonts and data.glyphs and next(data.glyphs) then + if data.subfonts then local cidinfo = data.cidinfo local verbose = fonts.verbose if cidinfo.registry then ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________