From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109571 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Newsgroups: gmane.comp.tex.context Subject: =?utf-8?q?RE=C2=A0=3A__Issue_with_grid?= Date: Mon, 23 Nov 2020 09:31:41 +0100 Message-ID: References: <5340888B-7318-456A-85A7-F2D6F46BE8D2@hxcore.ol>, Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8857835753970427475==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35960"; mail-complaints-to="usenet@ciao.gmane.io" To: Hans Hagen , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 23 09:32:12 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kh7Gd-0009Dz-Us for gctc-ntg-context-518@m.gmane-mx.org; Mon, 23 Nov 2020 09:32:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DCE721A8400; Mon, 23 Nov 2020 09:31:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KHhpF0joH8gx; Mon, 23 Nov 2020 09:31:45 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F232A1AA4E4; Mon, 23 Nov 2020 09:31:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7A8451A9AB8 for ; Mon, 23 Nov 2020 09:31:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rs7zHTuGy2So for ; Mon, 23 Nov 2020 09:31:43 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.47; helo=mail-wm1-f47.google.com; envelope-from=josephcanedo@gmail.com; receiver= Original-Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id BC9CD1A8400 for ; Mon, 23 Nov 2020 09:31:43 +0100 (CET) Original-Received: by mail-wm1-f47.google.com with SMTP id p22so17039576wmg.3 for ; Mon, 23 Nov 2020 00:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:date:from:subject:thread-topic:in-reply-to:message-id :references:to:content-transfer-encoding; bh=8iWVo11ALSIAGP2gZKtFZb2yN+9mAAsxN5AguWAdLJA=; b=V6w4l/gPXTP2VADMaZTL5UEr+ejnhV5aTq4KAI/nogvZu5hjBkh7036dM9aqvqzt27 5j/JmFNHZ41En1+BrzkR2NM63m8RGk32Wn4XGirEOvJTRqi5WMnY1wY/XsTOP5ZW4WhP bLkcNxZiC67SfE4h0HCz7GXWMIb72+cf6gEfNdvsOZsFa4vb0Zz9N72RNL6WoZ7LGAuH Vs4qXn6J5lxsu7U4GxEdAPGU+480iOEZYJq8tQ8RTyuvVq/HGRnFiNycJF7JwyyF6Ye3 hTId1yhxdpL/Dz+OvM3i8YUg98dbWj8VtNQCCqytNdT9YHKX8fItsArEb+Habyl53Wjv 55Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:from:subject:thread-topic :in-reply-to:message-id:references:to:content-transfer-encoding; bh=8iWVo11ALSIAGP2gZKtFZb2yN+9mAAsxN5AguWAdLJA=; b=ALvgxjNshyC/TZEE/P2eOk9/efDA6W02qMC60iTdk0CL4VQCujzxS+Vjr9VPom1/sC btuNHFv9KSrQCcMcalej3JX+3kLXbSlMGfmhkWc5BlNouyAFYAJqJPw1r/GymgPS1XJf KbqLRJj5w5IqU0JabH18K+uGC9OUgHDFlzyNSE2rn0zf26DnyZeOLeXG7Q5X1lD++rsR kzq9fOsTUMP76oTuSpqcgfC8Kt3sACW70ligMueK5JUmYO0B9ZLq5rV2DPMngIukKLde C2H4G416pFYwxld1orRRzOBCVhsQkXdRL9qMQgoan2UMF3jqFlkX9Mee7rmm3a6ZOnNc WvLA== X-Gm-Message-State: AOAM532BZt9ZqyyMN/Ieo1yYBNN2rIHCz5wiEl2zGsm6Lx2bO8sGan4l wCEGU4nJ2aQvOXfvPSU0HGo= X-Google-Smtp-Source: ABdhPJwxqbnuvuQQBG9Re/bC60dqf6EgTUfe9YhV0UmpPp7vNHv7nJZdI/AHf1Vgh5LDv2gaN/6zNw== X-Received: by 2002:a05:600c:2601:: with SMTP id h1mr18612908wma.35.1606120303335; Mon, 23 Nov 2020 00:31:43 -0800 (PST) Original-Received: from smtp.gmail.com (2a01cb00068e0300a594fa878c0d9f0c.ipv6.abo.wanadoo.fr. [2a01:cb00:68e:300:a594:fa87:8c0d:9f0c]) by smtp.gmail.com with ESMTPSA id u8sm15248577wmg.6.2020.11.23.00.31.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2020 00:31:42 -0800 (PST) Thread-Topic: =?utf-8?Q?RE=C2=A0:_[NTG-context]_Issue_with_grid?= In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:109571 Archived-At: --===============8857835753970427475== Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

I don=E2=80=99t understand the answer = I am afraid, I=E2=80=99ve never seen any issue with grid alignment before (= I don=E2=80=99t use columns either, and I changed nothing at all).

 

<= p class=3DMsoNormal style=3D'border:none;padding:0cm'>De : Hans Hagen
Envoy=C3=A9 le := lundi 23 novembre 2020 00:05
=C3=80 : mailing list for ConTeXt users; Joseph
Objet :Re: [NTG-context] I= ssue with grid

 

On 11/22/2020 5:03 PM, Joseph wrote:

&= gt; Dear list,

>

> I= n some cases with latest LMTX I see text not aligned to grid. MWE

> reproduces the problem (could not reproduce with defau= lt font).

>

> Typese= tting MWE using online ConTeXt page shows correctly aligned text

> on grid.

>

> \showgrid

>

> \setuplayout[grid=3Dboth]

>

> \definefontfeature[base][mode=3Dnode]

>

> \definefontfamily[mainfont][serif][= EBGaramond][features=3Dbase]

>

> \setupbodyfont[mainfont, 9pt]

>

> \starttext

>

> \blank[line, samepage]Fin des psalmes.

>

> \blank[line, samepage]Fin des = psalmes.

>

> \dorecu= rse{8}{\input knuth

>

&= gt; }

>

> \stoptext<= /p>

>

> If number of it= =C3=A9rations is changed from 8 to 7) problem does not appear,

> seems to be linked to the fact page is fully filled with = lines.

>

> If one of= the \blank lines is commented out problem does not occur either.

 

It might have to d= o with the fact that the height/depth ratio that is

used doesn't match well with the ascenders/descenders of the font that

you use. The defaults are:

<= o:p> 

\setupinterlinespace

=C2=A0=C2=A0 [height=3D.72,

=C2=A0=C2= =A0=C2=A0 depth=3D.28,

=C2=A0=C2=A0=C2=A0 line=3D2.= 8\exheight]

 

so you can play with these. The 72:28 ratio works ok for most fonts but =

sometimes need to be adapted. Sometimes the 2.8 is= not enough.

 

(makes me wonder: i can issue a warning when a font can overrun)

 

(normally grid = snapping should catch is but columns are kind of different)

 

Hans

 

 

-------------------------------------------------------------= ----

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Hans Hagen | PRAG= MA ADE

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ridderstraat 27 | 8061 GH Hassel= t | The Netherlands

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

=

------------------------------------------------------= -----------

 

= --===============8857835753970427475== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8857835753970427475==--