From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50941 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: MkIV italic correction? Date: Mon, 01 Jun 2009 22:19:50 +0200 Message-ID: <4A2437E6.7080906@wxs.nl> References: <20090520062507.GA4330@Fity> <4A152521.5070406@wxs.nl> <20090521132031.GA27281@khaled-laptop> <4A166F8F.4020003@elvenkind.com> <4A1682EC.1000201@wxs.nl> <4A168B4D.6010702@elvenkind.com> <20090601151507.GA30709@khaled-laptop> 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: ger.gmane.org 1243887643 2040 80.91.229.12 (1 Jun 2009 20:20:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 20:20:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 01 22:20:41 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MBDzs-00084v-VM for gctc-ntg-context-518@m.gmane.org; Mon, 01 Jun 2009 22:20:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E15D21FC7A; Mon, 1 Jun 2009 22:20:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26981-01; Mon, 1 Jun 2009 22:20:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A202E1FC74; Mon, 1 Jun 2009 22:20:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E871F1FC74 for ; Mon, 1 Jun 2009 22:19:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23540-02-2 for ; Mon, 1 Jun 2009 22:19:50 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 4F7D81FC71 for ; Mon, 1 Jun 2009 22:19:50 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n51KJnPA022903 for ; Mon, 1 Jun 2009 22:19:49 +0200 Original-Received: from [10.100.1.107] (unverified [10.100.1.107]) by controller-1 (SurgeMail 3.9e) with ESMTP id 14797-1840426 for ; Mon, 01 Jun 2009 22:19:49 +0200 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <20090601151507.GA30709@khaled-laptop> X-Originating-IP: 10.100.1.107 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=15; city=Almelo; latitude=52.3500; longitude=6.6667; http://maps.google.com/maps?q=52.3500,6.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 235443337 - 05a3ecac8623 - 20090601 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50941 Archived-At: Khaled Hosny wrote: > On Wed, May 27, 2009 at 01:34:57PM +0900, Dohyun Kim wrote: >> 2009/5/22 Taco Hoekwater : >>> >>> Hans Hagen wrote: >>>> Taco Hoekwater wrote: >>>>> Khaled Hosny wrote: >>>>>> Not very helpful in this situation, but FontForge has a non-standard >>>>>> italic correction (ITLC) table[1], may be TeX related OpenTyp font >>>>>> projects like Latin Modern and Gyre fonts can use it? >>>>> That would perhaps not be a bad idea. If that table is there then >>>>> luatex will automatically use it (it is a subtable of 'TeX ', which >>>>> also contains height and depth information, and font dimensions). >>>> so, that data would end up in a regular feature/lookup? of is it an >>>> entry in the glyph? >>> They are automatically merged into the glyph, as >>> >>> glyph.italic_correction >>> glyph.tex_height >>> glyph.tex_depth >>> >> Hi, >> >> Considering current state that we don't know any fonts that has ITLC table, >> it would be better than nothing to implement italic correction as follows. > > Per FontForge's documentation, it can generate italic correction values, > may be LuaTeX could make use of such feature and provide a way to > generate italic correction values for fonts missing it, may be the tex > height and depth too, if it isn't doing so already? Since FontForge has > access to actual glyph shapes, it might be generating better guesses. > > I can generate sample fonts with FontForge for testing, if needed. as such an italic correction is not part of the font design but a guess it makes sense to keep it 'under lua control' so i implemented a itls=yes feature (base mode and node mode; is in beta) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________