From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77725 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Questions apon Questions Date: Fri, 03 Aug 2012 14:05:34 +0200 Message-ID: <501BBE8E.7090301@wxs.nl> References: <709002D7-320C-4740-9BD1-45373277D8EE@web.de> <501BA6D9.7050502@wxs.nl> <10D2D244-4A5C-42B0-A3A3-76563E57554F@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343995551 9691 80.91.229.3 (3 Aug 2012 12:05:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2012 12:05:51 +0000 (UTC) To: "Keith J. Schultz" , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 03 14:05:51 2012 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 1SxGdW-0004hA-Dc for gctc-ntg-context-518@m.gmane.org; Fri, 03 Aug 2012 14:05:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 588F2101FD; Fri, 3 Aug 2012 14:05:45 +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 ka8vxEmNMvIs; Fri, 3 Aug 2012 14:05:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 04396101DF; Fri, 3 Aug 2012 14:05:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC959101DF for ; Fri, 3 Aug 2012 14:05:41 +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 5B2qdskffyIm for ; Fri, 3 Aug 2012 14:05:40 +0200 (CEST) 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 BBB9E101DD for ; Fri, 3 Aug 2012 14:05:40 +0200 (CEST) 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 q73C5d5U026891 for ; Fri, 3 Aug 2012 14:05:39 +0200 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 1413-1713362 for multiple; Fri, 03 Aug 2012 14:05:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <10D2D244-4A5C-42B0-A3A3-76563E57554F@web.de> 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=03; city=Hattem; latitude=52.4724; longitude=6.0696; http://maps.google.com/maps?q=52.4724,6.0696&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THGc5D6O - c4dc1214ae6e - 20120803 (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:77725 Archived-At: On 3-8-2012 13:31, Keith J. Schultz wrote: >> Afaik at the tex end we don't need information stored in GDEF tables. > O.K. I am confused! Polyglossia is being ported to LuaTeX. > I have be told that certain features are required. > Furthermore, as I understand the OT-Spec they are need > in certain fonts and without them proper glyph selection is not > possible. I don't know Polyglossia (and don't want to look into it either). So, what missing information are you talking of? > So, what then does LuaTeX/Context to support the glyph selection > process? I'm not sure what you refer to. Any information in GDEF that is referred to from GSUB or GPOS is merged into those already (like anchors etc). >>> 2) Is GPOS still not supported in font.loader >> >> GSUB and GPOS are supported as dropping any of them would render the whole machinery useless. > Again Confused. According to the OT-Spec. GSUB and GPOS may reference GDEF > So, what is done in such a case? The information is in the loaders gsub and gpos subtables already. >> The luatex manual is. > No Problem with that. Though, what I am looking for is also source code documention on the C-side. partial in cweb and partial in the original fontforge code >>> 6) Is the font.loader mainly in Lua or C? (I have not gotten that far yet?) >>> (only a couple hours of work done) >> >> C producing a lua table > I was hoping you would not have said that. No Problem just a little more work. the few hours you mentioned is neglectable compared to dealing with the full scope of otf > I will explain a little what I was up too. Over on the XeTeX list there was a discussions about Xe vs Lua. > One point was that the seems to be a lack for script support. Another, was the lack of Polyglossia. > Aurthur is working on porting it. It was mentioned that it might not work correctly with some indic scripts, due to the lack > of the missing support for GDEF. > > My idea, getting the tables into the font loader should be the first and easiest task! That is reading the font file data along with the other stuff keep in mind that in luatex we want to keep the tables lean and clean > and putting into the apropriate LuaTeX-datastructures(naturally, GDEF -table would match the other OTF-LuaTeX-Table programming style). > Then patching the others functions, if necessary, to use the GDEF during look-up! best first figure out *what* is is missing in the gsub/gpos luatex tables that is present in the otf GDEF > In other words, simplest first and bottom-up. Since LuaTeX says it is using the context code I decided to come to this list. > > Would you be so kind as to point me to Information how LuaTeX facilitates script handling? Or should I guess Fontforge? it doesn't handle scripts at all .. luatex only provides access to the font data on the one hand and access to the typesetter at the other end ... everything in between has to be done in lua concerning indic ... the fonts does not have all the info so additional code is needed (will be in context some day soon) 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 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 ___________________________________________________________________________________