From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81453 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: error calling font.getfont() on certain fonts Date: Fri, 29 Mar 2013 17:36:35 +0100 Message-ID: <20130329163635.GB15331@phlegethon> References: <20130328174101.GA4456@phlegethon> <5155A350.4040401@wxs.nl> <20130329152851.GA15331@phlegethon> <5155BD77.6060305@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2045162267==" X-Trace: ger.gmane.org 1364575025 20740 80.91.229.3 (29 Mar 2013 16:37:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Mar 2013 16:37:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 29 17:37:32 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 1ULcJ0-0007bE-RS for gctc-ntg-context-518@m.gmane.org; Fri, 29 Mar 2013 17:37:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D4DD101F2; Fri, 29 Mar 2013 17:37:06 +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 77SBqj3vgxmC; Fri, 29 Mar 2013 17:37:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0229D101E4; Fri, 29 Mar 2013 17:37:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DEF50101E4 for ; Fri, 29 Mar 2013 17:37:01 +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 zIL5J13349QW for ; Fri, 29 Mar 2013 17:37:01 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 073E7101E3 for ; Fri, 29 Mar 2013 17:37:00 +0100 (CET) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2TGLWiB009308 for ; Fri, 29 Mar 2013 17:21:32 +0100 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r2TGauWs024036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Mar 2013 17:36:58 +0100 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r2TGauaG009407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Mar 2013 17:36:56 +0100 Original-Received: from localhost (p5084729E.dip.t-dialin.net [80.132.114.158]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id r2TGatJe014804 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 29 Mar 2013 17:36:55 +0100 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <5155BD77.6060305@wxs.nl> X-Operating-System: Linux phlegethon 3.7.9-2-ARCH User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.210.211; country=DE; region=01; city=Heidelberg; postalcode=69115; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJhslwcf - fcae50015122 - 20130329 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:81453 Archived-At: --===============2045162267== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hYooF8G/hrfVAmum" Content-Disposition: inline --hYooF8G/hrfVAmum Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=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). >=20 > 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. > >Compared to Plain, Context adds a lot to the =E2=80=9C.parameters=E2=80= =9D table. > >Sadly, writing to it doesn=E2=80=99t appear to change anything =E2=80=A6 >=20 > well, why would you .. the font is already passed to tex and you > cannot change that frozen state (imagine: what would a change in > width of a char mean halfway? it woul dnot work well with the > backend) ... what would you like to change? That wasn=E2=80=99t 100% serious. Just me experimenting. Best Philipp --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --hYooF8G/hrfVAmum Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFVwxMACgkQ02lYlJYWs9J/3gCbBFVs15SvFDoAyNc5r7VHCMcE lykAn1btf9w/BfZvH3Ey1rDd6CF9l50S =jgHq -----END PGP SIGNATURE----- --hYooF8G/hrfVAmum-- --===============2045162267== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2045162267==--