From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78832 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Bug in math integral Date: Tue, 23 Oct 2012 00:05:32 +0200 Message-ID: <5085C32C.8010808@wxs.nl> References: <9E56A065-3C55-43F3-9939-9F07B9AE4B32@gmail.com> <878vayihc3.fsf@universe.krase.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1350943550 10312 80.91.229.3 (22 Oct 2012 22:05:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2012 22:05:50 +0000 (UTC) Cc: mailing list for ConTeXt users , Marco Pessotto To: Otared Kavian Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 23 00:05:58 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 1TQQ8C-000761-KT for gctc-ntg-context-518@m.gmane.org; Tue, 23 Oct 2012 00:05:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1E251020D; Tue, 23 Oct 2012 00:05:48 +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 UpHXEnn6QP+f; Tue, 23 Oct 2012 00:05:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8F91F101E9; Tue, 23 Oct 2012 00:05:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E73A4101E9 for ; Tue, 23 Oct 2012 00:05:43 +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 l3u4t-VvABan for ; Tue, 23 Oct 2012 00:05:42 +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 DCC41101E8 for ; Tue, 23 Oct 2012 00:05:42 +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 q9MM5fxs021244 for ; Tue, 23 Oct 2012 00:05:42 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 5061-1713362 for multiple; Tue, 23 Oct 2012 00:05:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 In-Reply-To: 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=16; city=Zeewolde; latitude=52.3302; longitude=5.5364; http://maps.google.com/maps?q=52.3302,5.5364&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TIem5FGb - 3231c21cecf2 - 20121023 (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:78832 Archived-At: On 22-10-2012 21:41, Otared Kavian wrote: > > On 22 oct. 2012, at 18:47, Marco Pessotto wrote: > >> [=85] >> Should the attached (compiled with the latest beta, as fixed by Hans) be >> used as referenced? >> > > Hi Marco and Hans, > > Thanks to everyone for your attention, and many thanks to Hans for having= tried to fix the bug in mkiv. > Unfortunately the bug is still there, as it can be seen from the comparis= on of the two PDF files I am sending with this message: they are both the r= esult of typesetting the same source file I sent you. The one typeset with = mkii has the correct output, while the one with mkiv is not correct (the sp= acing of the bounds of the integrals and the spacing between the integrals = when they are invoked with \iint or \iiint are incorrect). (I tried this wi= th ConTeXt version 2012-10-22, 11:01). > The =AB reference =BB output should be the file =AB math-integral-mkii-20= 12-10-22.pdf =BB Keep in mind that mkiv and mkii will never produce the same results = (e.g.: more granularity in font metrics in mkiv, less juggling with = combined shapes in mkiv, etc). SO, it can never be the pixel wise reference. The issue with italic correction is complex. First of all italic = corrections are a tex thing while in otf advanced kerning mechanism is = used. This means that the engine has to deal with traditional as well ad = new mechanisms. In the process of developing luatex and mkiv, we went = through several phases, one is that the italic correction had to be = added to the width (a handicap is that luatex has to make some guesses, = and the mkiv vf is a wide font on the one hand but still a traditional = one). Anyhow, already quite a while ago, mkiv got two mechanisms to deal with = italic correction, one for text and one for math (otf text fonts have no = italic correction). Both mechanism can be configured to adapt themselves = to the situation. For math we have 4 variants. \setupmathematics[italics=3D1] % fontitalics \setupmathematics[italics=3D2] % fontdata \setupmathematics[italics=3D3] % quad based \setupmathematics[italics=3D4] % combination of 1 and 3 \setupmathematics[italics=3Dnone] Depending on available italic info or the lack of it, correction is = applied. Of course this can be improved. Once they are complete, we can make the new gyre math fonts default and = some of the problems will go away. The virtuals will then be kept as an = example of defining virtual fonts. Concerning the issue: i removed adding the italic correction to the = width (something that was needed in a previous version of luatex). 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 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 ___________________________________________________________________________= ________