From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76467 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Small integral signes with Palatino Date: Mon, 28 May 2012 14:50:45 +0200 Message-ID: <4FC374A5.5020708@wxs.nl> References: <4FBEB8BE.1070406@wxs.nl> <4FBF4911.1060007@wxs.nl> 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 1338209464 15065 80.91.229.3 (28 May 2012 12:51:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 May 2012 12:51:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 28 14:51:01 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 1SYzPT-0004bT-O3 for gctc-ntg-context-518@m.gmane.org; Mon, 28 May 2012 14:50:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7C1B101DD; Mon, 28 May 2012 14:50:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lqKmP33q7sHC; Mon, 28 May 2012 14:50:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 27C07101DF; Mon, 28 May 2012 14:50:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C43F101DF for ; Mon, 28 May 2012 14:50:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8i2pVfNkrip1 for ; Mon, 28 May 2012 14:50:51 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 451D2101DD for ; Mon, 28 May 2012 14:50:51 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4SCoo58010171 for ; Mon, 28 May 2012 14:50:50 +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 5.3h2) with ESMTP (TLS) id 3480-1713362 for multiple; Mon, 28 May 2012 14:50:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.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=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: 0RHfoOOhR - fd7c80d5bea9 - 20120528 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76467 Archived-At: On 28-5-2012 01:27, Aditya Mahajan wrote: > On Mon, 28 May 2012, luigi scarso wrote: > >> Different, but still wrong >> >> \unprotect >> \starttypescript [\s!math] [palatinomath] >> \definefontsynonym [PalatinoMath] >> [\s!file:texgyrepagella-math-regular.otf] >> \stoptypescript >> \starttypescript [\s!math] [palatinomath] [\s!name] >> \definefontsynonym [MathRoman] [PalatinoMath] >> [\s!features=\s!math\mathsizesuffix] >> \stoptypescript >> \starttypescript [PalatinoTest] >> \definetypeface [\typescriptone] [\s!rm] [\s!serif] [palatino] >> [\s!default] >> \definetypeface [\typescriptone] [\s!mm] [\s!math] [palatinomath] >> [\s!default] >> \quittypescriptscanning >> \stoptypescript >> \protect >> >> \usetypescript[PalatinoTest] >> \setupbodyfont[PalatinoTest,12pt] >> \starttext >> \input knuth \par >> \startformula >> \int_0^\infty \frac{1}{x} {\rm d} x >> \stopformula >> \stoptext > > In this case \int and \sum are of the same size, so it appears as a > design choice, and more importantly, we can patch the font to change > DisplayOperatorMinHeight. It's really weird ... in the virtual font builder we have DisplayOperatorMinHeight = t . math_operator_size . text_style and there has been a good reason for this otherwise it would not be there. For the normal (12pt) size this becomes 1040448 for px as well as tx. Both fonts (when looking at them with \showfont[pxex.tfm] etc have the same shapes. Concerning the rest of the parameters, only for this case irrelevant differ a bit. % name px tx % RadicalRuleThickness 46399 44040 2359 % FractionDenominatorDisplayStyleGapMin 139197 132120 7077 % OverbarVerticalGap 139197 132120 7077 % RadicalDisplayStyleVerticalGap 133103 130744 2359 % UnderbarVerticalGap 139197 132120 7077 % FractionNumeratorGapMin 46399 44040 2359 % OverbarRuleThickness 46399 44040 2359 % StackGapMin 139197 132120 7077 % RadicalVerticalGap 57998.75 55050 2948.75 % StackDisplayStyleGapMin 324793 308280 16513 % AccentBaseHeight 353107.968 353894.4 -786.43200000003 % FractionRuleThickness 46399 44040 2359 % FractionDenominatorGapMin 46399 44040 2359 % OverbarExtraAscender 46399 44040 2359 % SubSuperscriptGapMin 185596 176160 9436 % MinConnectorOverlap 11599.75 11010 589.75 % FractionNumeratorDisplayStyleGapMin 139197 132120 7077 % UnderbarRuleThickness 46399 44040 2359 % RadicalExtraAscender 46399 44040 2359 So, there is no real reason for px to behave different than tx. However, when we nil DisplayOperatorMinHeight we get the scaled glyph. Okay, we could have threshold issue but even putting some real large math mess after itm it will not bump to the next size shape (there is only one larger size btw) .. puzzling > BTW, what is the status of Pagella Math? Should we default to that > instead of px-fonts? not yet 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 ___________________________________________________________________________________