From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7487 invoked from network); 13 Aug 2023 08:13:10 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 13 Aug 2023 08:13:10 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 006C948249D for ; Sun, 13 Aug 2023 10:12:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id olI0LStFWOBp for ; Sun, 13 Aug 2023 10:12:45 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 79DC2482898 for ; Sun, 13 Aug 2023 10:11:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 765344808DE for ; Sun, 13 Aug 2023 10:10:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8YDg7w_frFI for ; Sun, 13 Aug 2023 10:10:38 +0200 (CEST) Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id C4B25480875 for ; Sun, 13 Aug 2023 10:10:38 +0200 (CEST) Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4RNqwG4s0qz6w for ; Sun, 13 Aug 2023 08:10:38 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4RNqwG18qVz6Q for ; Sun, 13 Aug 2023 08:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1691914238; bh=+ClJqiXsD766crggZzv3jk0MJK1AKaaszyghgKLdsf8=; h=Date:Subject:To:References:From:In-Reply-To:From; b=EFw+xOUn53tkP/ZI8VHQ8Acy4aXrDoGT7gNpZXJV0tm30FeoitTyZKGmhi/FLxVAc y6oAQX0bj1zl0aVP7Vm49vkcjFkwC4u4tC70n9pBSZThMvcmwS2vku23Wnhulnjce1 mwmqvVtL2qSCgtDtcXGbWJVeUhYDotuy8jOPkNPc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1691914238; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ztchGdM8+qfie0XC8DB7nu52550FcoubXIEhxXIvYyI=; b=FdM0EcAqKdxjHdN1Hkj+plinSWrOAhRl9tOBG3R+sUJ5NOQ3QqjKslNjxN2zxvapQ/VFDq 0+6EMnW7tnbJclJmv4slScdvnqALmAvjQPi6H0cw0DRtrMD9KUXgEOi2f1IVf45ixlKWNe CUTeHmxpx+1XhBtHcatuU442zKjdetU= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1691914238; a=rsa-sha256; cv=none; b=N0nYNCO58sMklzhYfn1rpIF2kzjHaLKGxl0+t061wyhN/kKee0/jrla+JpByRtWK84jbEA Z4SVimOGwFFKtHLaZhZWiIOe2vBeFNm/oPVmoIe8fX9d3eQhPlSv0qeJ0I0UZYE6OdBewK Bi9FO2BuWGwDqjSl8eL+mem17mJUhKI= Message-ID: Date: Sun, 13 Aug 2023 10:10:36 +0200 MIME-Version: 1.0 Content-Language: en-US To: ntg-context@ntg.nl References: <20230813090800.4beca3138668b332a3b547b1@posteo.net> X-Soverin-Authenticated: true In-Reply-To: <20230813090800.4beca3138668b332a3b547b1@posteo.net> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.4 cv=GuiEuG5C c=1 sm=1 tr=0 ts=64d88ffe a=yaeGIPywLLJyAsH1IMTGEA==:117 a=yaeGIPywLLJyAsH1IMTGEA==:17 a=IkcTkHD0fZMA:10 a=YEMqx4UAAAAA:8 a=Uows8UApAAAA:8 a=vlFL8_S2iuZgPynDhAYA:9 a=QEXdDO2ut3YA:10 a=V0662LiR8DSfwiDagK97:22 a=oX0v64vK4IwbpfTCMRm2:22 X-Cloudmark-Reporter: TzTHpTSReRd0bFwC4Z9fAWFDcU0= Message-ID-Hash: SU5R5LRFZBTOOVF4S5NH66753GK6G5YS X-Message-ID-Hash: SU5R5LRFZBTOOVF4S5NH66753GK6G5YS X-MailFrom: j.hagen@freedom.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Why overbar is so big List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 8/13/2023 9:08 AM, Xavier B. wrote: > So, > > Finally is it a bug in MKIV? It seems you fix some kind of bug in your messages. Is it true? Not really. It's a a bug in the fonts (that will stay if only for compaibility reasons). There is a catch in mkiv that compensates for it but only when characters are not there. So, for these two I now force the catch. In lmtx we have a bit different approach: we just assuem they are wrong in all fonts and fix them or replace them. We also have a more advanced math engine so we can control placement better. There are also 'font parameters' involved that can be bad (i guess that designers can't really test math font parameters). In lmtx we have more of them, beyond what opentype math provides. All of this is handled in goodie files. That mechanism is present in mkiv but no one ever bothered to spent time on it. That said: the last two years Mikeal and I spent a *lot* of time on math and we don't really look back at mkiv / mkii also because there is way more neat things now (most probably go unnoticed) ... you can read about it in some documents that come with context, articles in tugboat, and there are talks by Mikael at tug meetings on YT. >> The output with Luametatex is correct but Luatex creates a raised bar >> (and different linebreaking). >> >> \showglyphs >> >> \startTEXpage[offset=1ex] >> \ruledhbox{$\overline {OA} = \overbar {OA} = 4.2$} >> \par >> \ruledhbox{$\underline {OA} = \underbar {OA} = 4.2$} >> \par >> \ruledhbox{$\widetilde {OA} = \widebar {OA} = 4.2$} >> \par >> \ruledhbox{$\overbracket {OA} = \underbracket {OA} = 4.2$} >> \stopTEXpage >> >> I'll add a 'force fix in spite of extensible being present' in mkiv. In >> lmtx we always fix also because we drop in nicer shapes (watch the round >> tips in lm and fancy tips in antykwa) and concluded that fonts will >> remain as they are. >> >> Hans > > As you suggested, I will give a try to LMTX but be aware most user still use MKIV until most distros upgrade the texlive version of context to LMTX. It's not that hard to install lmtx alongside. If distributions take from texlive then likely you also end up with files that are not needed (base package) and lack some fonts (esp math) by default. You'd also benefit from the last couple of years advancements. Keep in mind that for a long term tex (document) project a snapshot approach is healthy because you never know what a distribution adds / replaces (esp fonts can be a mess and you want to know what you use). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________