From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86101 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: special case to disable italic correction Date: Sun, 26 Jan 2014 20:24:07 +0100 Message-ID: <52E560D7.40403@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390764251 8057 80.91.229.3 (26 Jan 2014 19:24:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 19:24:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 26 20:24:20 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W7VJc-00034d-53 for gctc-ntg-context-518@m.gmane.org; Sun, 26 Jan 2014 20:24:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F126101EE; Sun, 26 Jan 2014 20:24:19 +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 bM4z1NpZ4Em7; Sun, 26 Jan 2014 20:24:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A5D14101E6; Sun, 26 Jan 2014 20:24:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06035101E6 for ; Sun, 26 Jan 2014 20:24:15 +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 d50br+J8f-Xh for ; Sun, 26 Jan 2014 20:24:13 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id AAE25101E1 for ; Sun, 26 Jan 2014 20:24:13 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0QJOCAu016934 for ; Sun, 26 Jan 2014 20:24:12 +0100 Original-Received: from [192.168.1.33] ([81.36.204.39]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LnPSg-1VeWc12yys-00hb4J for ; Sun, 26 Jan 2014 20:24:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-Provags-ID: V03:K0:PpXKUTP0Y9pStOLh4n/a2MNDgTV4sF4TiGZqpy3DJ/CrArONH4z SXMfcsu1OljSKRzfz+DPZ/uKr0P72924m1EeCAOM41kTRMkW0rF4axvgavJvqeedfMXd/PX 1nvYdSpIMyKBotUcTHAKh2hy+7FSNJycduqWfCxvoqIVF5NJsd5JeoQOyA7zfVpa/58wTtc t6sOBEvrd8h8dYjAKvBYw== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.227.17.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NLiHocdG - bc6a8253b084 - 20140126 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:86101 Archived-At: Hi Hans, after reading the relevant part for italic correction in fonts-mkiv.pdf and enabling it in my documents, I have found a case in which the italic correction could be improved. My settings are: \definefontfeature[default][default][itlc=3Dyes] \setupitaliccorrection[global,always] If I get it right, the italic correction should be avoided before points and commas (these are all the exceptions I can imagine for this case). The explanation is simple: the space is already at the base line, since at the glyph base, the inclination of the italic or slanted glyph makes the right side-bearing larger at the baseline. The issue with italic correction is mainly with ascenders or at the cap height, but I think it isn=92t at the base line (or the descenders). Because of that I think it is important to disable italic correction before points and commas. The sample shows the issue: \setuppagenumbering[location=3D] \definefontfeature[default][default][itlc=3Dyes] \setupitaliccorrection[global,always] \starttext \startTEXpage[offset=3D1ex] Abf. {\em Abf}.\\ Abf, {\em Abf},\\ Abf. {\it Abf}.\\ Abf, {\it Abf}, \stopTEXpage \stoptext I think it might be worth considering. Many thanks for your help and your excellent work, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________