From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81454 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: error calling font.getfont() on certain fonts Date: Fri, 29 Mar 2013 17:42:07 +0100 Message-ID: <5155C45F.2070907@wxs.nl> References: <20130328174101.GA4456@phlegethon> <5155A350.4040401@wxs.nl> <20130329152851.GA15331@phlegethon> <5155BD77.6060305@wxs.nl> <20130329163635.GB15331@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1364575331 23793 80.91.229.3 (29 Mar 2013 16:42:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Mar 2013 16:42:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 29 17:42:38 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ULcNu-0004JA-PG for gctc-ntg-context-518@m.gmane.org; Fri, 29 Mar 2013 17:42:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53E93101E9; Fri, 29 Mar 2013 17:42:10 +0100 (CET) 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 w9CDHt-5ak7i; Fri, 29 Mar 2013 17:42:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id ADD00101E4; Fri, 29 Mar 2013 17:42:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4443E101E4 for ; Fri, 29 Mar 2013 17:42:07 +0100 (CET) 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 oceAl5B8S7k2 for ; Fri, 29 Mar 2013 17:42:06 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 71EA9101E3 for ; Fri, 29 Mar 2013 17:42:06 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2TGg5iT031737 for ; Fri, 29 Mar 2013 17:42:05 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 13634-1713362 for ; Fri, 29 Mar 2013 17:42:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <20130329163635.GB15331@phlegethon> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJhsG5o7 - d69489cb5219 - 20130329 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81454 Archived-At: On 3/29/2013 5:36 PM, Philipp Gesang wrote: > =B7=B7=B7=B7=B7=B7=B7=B7=B7 > >> On 3/29/2013 4:29 PM, Philipp Gesang wrote: >>> I just read that in the manual: >>> >>> Note that at the moment, each access to the font.fonts or call >>> to font.getfont creates a lua table for the whole font. This >>> process can be quite slow. In a later version of LuaTEX, this >>> interface will change (it will start using userdata objects >>> instead of actual tables). >> >> even then it's of not much use for context as we have more data and >> keep that data at the lua end so font.getfont has no benefits then > > For my purpose the benefit is that I can access some info about > the font with the same code in all three formats. ok, *.parameters probably carries the same info but for the rest you = cannot assume that the context font handler (plus the derived generic = one) will limit itself to that subset; in a similar fashion there is a = difference between what context keeps track of and stores and the raw = loaded otf font data (in other words: cross macro package has a limited meaning) 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 ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________