From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63048 Path: news.gmane.org!not-for-mail From: Ulrike Fischer Newsgroups: gmane.comp.tex.context Subject: Re: manipulate ttf-fonts loaded with luatex Date: Thu, 28 Oct 2010 19:48:24 +0200 Message-ID: <1ucuymqnhaesb$.dlg@nililand.de> References: <4CC96D7F.8040309@wxs.nl> <1xbfw9v6ufmj3.dlg@nililand.de> <4CC975B9.9050100@elvenkind.com> <20101028133259.GA5857@khaled-laptop> <4CC98FD6.2010100@wxs.nl> <4CC99E43.9090505@wxs.nl> <1bnkh4sd7r41c$.dlg@nililand.de> <4CC9B01F.1060907@wxs.nl> Reply-To: news3@nililand.de, 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: dough.gmane.org 1288288135 20834 80.91.229.12 (28 Oct 2010 17:48:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 17:48:55 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 28 19:48:54 2010 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 1PBWar-0002V5-PJ for gctc-ntg-context-518@m.gmane.org; Thu, 28 Oct 2010 19:48:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 44489CA7AE; Thu, 28 Oct 2010 19:48:53 +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 28zwqhdikiqa; Thu, 28 Oct 2010 19:48:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9008FCA79F; Thu, 28 Oct 2010 19:48:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84A3DCA79F for ; Thu, 28 Oct 2010 19:48:46 +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 S0SBKGXRN3yc for ; Thu, 28 Oct 2010 19:48:44 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id EC65FC9A7C for ; Thu, 28 Oct 2010 19:48:43 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9SHmgXg019330 for ; Thu, 28 Oct 2010 19:48:43 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PBWag-0002Lz-74 for ntg-context@ntg.nl; Thu, 28 Oct 2010 19:48:42 +0200 Original-Received: from p5b393c07.dip.t-dialin.net ([91.57.60.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Oct 2010 19:48:42 +0200 Original-Received: from news3 by p5b393c07.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Oct 2010 19:48:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5b393c07.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDohMHDc - a6506e9fabb6 - 20101028 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:63048 Archived-At: Am Thu, 28 Oct 2010 19:17:19 +0200 schrieb Hans Hagen: >>>> The question I have: How can I correct the fontdata after I have >>>> loaded the font? >>> >>> in context it is possible to 'patch' a font before it gets cached but >>> that's just a hack; in luaotf I can imagine that you intercept the font >>> just before it gets passed to tex, but anyway, it's asking for problems >>> with respect to future proof processing >> >> Well I don't want to patch the font system. But why can't I change >> the font data after the \font\test=... line? Is the data somewhere >> in the memory where it can't be touched? If yes is it possible to >> copy the data, change it and then use the changed data to define a >> new font \testb? > > as direct manipulation at that level is doomed to fail in the future > (nothing is written in stone till we have luatex 1.0) the best I can > think of is to provide a function that does the job Hm. I do have a bit the impression as if we have here a context and latex philosophy clash. I'm not asking you to provide a funktion incorporated in the context code which does the job. _I_ want to write support files for the chess ttf-fonts. If I get something working I will perhaps add it to my package. And if something changes in luatex or the underlying luaotfload/context code, well then I will have to adjust my code. Couldn't you give some examples how to manipulate a font after it has been defined with \font\test (if it is possible) and then let me play around? -- Ulrike Fischer ___________________________________________________________________________________ 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 ___________________________________________________________________________________