From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#20628: 25.0.50; Incorrect line height for some fonts Date: Fri, 29 May 2015 01:35:18 -0700 Message-ID: <556824C6.1090909@live.com> References: <20150522.234959.238191883.wl@gnu.org> <556189D0.2000208@live.com> <83bnha1fxw.fsf@gnu.org> <20150524.113203.250674550.wl@gnu.org> <83617i1f29.fsf@gnu.org> <834mn21e7y.fsf@gnu.org> <83y4kaxd25.fsf@gnu.org> <83eglzx0as.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1432888595 14275 80.91.229.3 (29 May 2015 08:36:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2015 08:36:35 +0000 (UTC) Cc: 20628@debbugs.gnu.org To: Eli Zaretskii , wl@gnu.org, ohwoeowho@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 29 10:36:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YyFm3-0000JZ-MR for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2015 10:36:15 +0200 Original-Received: from localhost ([::1]:34375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFm3-0000GR-34 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2015 04:36:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFlx-0000DN-8E for bug-gnu-emacs@gnu.org; Fri, 29 May 2015 04:36:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YyFlr-0000rg-D6 for bug-gnu-emacs@gnu.org; Fri, 29 May 2015 04:36:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YyFlr-0000rZ-6E for bug-gnu-emacs@gnu.org; Fri, 29 May 2015 04:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YyFlq-0003SA-ML for bug-gnu-emacs@gnu.org; Fri, 29 May 2015 04:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 May 2015 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20628-submit@debbugs.gnu.org id=B20628.143288853113237 (code B ref 20628); Fri, 29 May 2015 08:36:02 +0000 Original-Received: (at 20628) by debbugs.gnu.org; 29 May 2015 08:35:31 +0000 Original-Received: from localhost ([127.0.0.1]:60048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YyFlK-0003RP-Va for submit@debbugs.gnu.org; Fri, 29 May 2015 04:35:31 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.187]:58547) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YyFlH-0003R5-Vt for 20628@debbugs.gnu.org; Fri, 29 May 2015 04:35:29 -0400 Original-Received: from [172.20.11.8] ([12.10.78.5]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0MEJGG-1Yre403yp6-00FRBn; Fri, 29 May 2015 10:35:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <83eglzx0as.fsf@gnu.org> X-Provags-ID: V03:K0:WyZKSvssj3LfoJegBZgD1wOXydrcH7CxpHkMfFO5cQVaS5Id25C DsDHAdbhXfxoZEkmNMynG2akfONsNSVLicla4u+u41Uf6Upfg2V7gC8qNSr/IrHFqGE0vr2 SE+7Lygw/bVtOZA7GKfBmMDtyZ5OH932DQM9klNEyJgnuqMFXFh/BYwWccu19pJ7yao8F97 Gaq7xvKvXqekgOc1CRJOg== X-UI-Out-Filterresults: notjunk:1;V01:K0:4Cow5ghuEOc=:tfU7OZY0qIM+kjGiymL5VE QuFegoFQf6XZ4igPD/cNu3NPcISGJnhIw7o3xJ0cQY8O1RGrMkKEEOZLw2T4niGRpZOClTuOx KecknG+aDNI1NQ/3lDTe9sxJDo2xB/0KfvbOiUGh3WF3q5byq+2qHPMoDmGNM3dV0gMF56+EJ Jy1z8xuF//idPSwm0ZgbcOVIpKdexfSJn9hmcOg9DbDjbBwSZtrQvjlzIRySqseQWqapKmaPv bNP45sDK5sFAX6IciLxkW0IH4aF43CV6epK2Wgu5oXigXZhEk8px8L6mpQV5P2DFiAWfkY8/8 jZQ41cLqUfQhzSKxH/cZ8Qr9fDdhB6oi9W7tNLm7kAwQdvtRr1dYE9/uRJ67+pHx7wu5CsXg8 z4eWqCbcYa6mT9WtrMIUs4r1OrSdxNomHEgtXLvOZGdcxhpXtETP/jlB3gUK1zXdLXkrTFIeZ lmLjLf2foPKrr+So4lUXZ7jtBjO28lUE8u83WTmxuyPMEAH1gEOK28NJyGL6aztHdzWCB5gu+ zqo3AslTmjuPJWxjTn/TFd5lwJHUuW+ib1HTifQODut/pPHQTsO+0Vzfha0ii4rEuVl7W9c53 enWlWOgJRLwuD2QQAo23IQQsBe7e8WpL8L0NDJv/xQDCQn4rVjLQrAOZnjJAEWlJw2L6YzOkw aBYszXlZhxrzQ6uwxNu2RPJRmtnDSjHW7GvCqKzZb5pngSw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103295 Archived-At: On 05/29/2015 01:20 AM, Eli Zaretskii wrote: >> Date: Wed, 27 May 2015 18:20:02 +0300 >> From: Eli Zaretskii >> Cc: 20628@debbugs.gnu.org >> >> The changes are in platform-independent code, but I could only test >> them on MS-Windows. So users of Unix and GNU systems who are affected >> by this problem are encouraged to try the branch and report their >> experiences, whether good or bad. >> >> I will look into merging the branch to master in a few days, barring >> any grave bugs. >> >> TIA > > A bug reported that generated 70 messages describing how important it > was to fix it, and yet no one -- not a single soul -- says anything > when the solution seems to be at hand? Isn't that strange? Hi Eli, Thanks a lot for taking the time to put this patch together! I've been pretty busy these last few days, and just got around testing your patch (on Linux Mint). The approach of only activating per-glyph metrics when the font provides absurd ascent and descent values seems reasonable. > Would people who urged us to fix this please try the > scratch/large-fonts branch, and see if it's good enough to be merged > to master? I can post the diffs here, if that would make things > easier for someone. The patch partially solves the problem for me, but I noticed a few problems after running (set-frame-font "Latin Modern Math") * When the cursor is at the end of the file, on an empty line, it has a very height. * The modeline is still very tall * The fix seems to only apply to certain characters. The line that I mentioned in my original email, in particular, is still very tall. In other words, when trying the following three lines in a Latin Modern Math buffer, the last line is much too tall: 𝓝 ;; This is still very tall ∏∑∫ ;; This is a bit taller than the normal height, which is great ABC ;; This has the normal height, which is also great > > Once again, the Unix-specific portions of the changes are untested, > and need at least to be verified to do a reasonable job with the > offending fonts. > > If there are no comments in a few days, I will proceed with the merge. > > TIA > >