From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29078: 25.2; font issue with FreeType 2.8; should not use the rounded ascender and descender Date: Tue, 19 Nov 2019 17:55:07 +0200 Message-ID: <838sob3lpg.fsf@gnu.org> References: <87d153pqw0.fsf@cventin.lip.ens-lyon.fr> <87ftinaq1h.fsf@gnus.org> <20191118074714.GB27349@zira.vinc17.org> <83d0dp42nx.fsf@gnu.org> <20191118160441.GD2742@cventin.lip.ens-lyon.fr> <87lfsdox12.fsf@gnus.org> <20191118202606.GC27349@zira.vinc17.org> <87h831orio.fsf@gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="75000"; mail-complaints-to="usenet@blaine.gmane.org" Cc: vincent@vinc17.net, 29078@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 19 16:56:25 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iX5rd-000JOZ-IF for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 16:56:25 +0100 Original-Received: from localhost ([::1]:46826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX5rc-0004MI-DY for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 10:56:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54796) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX5rH-0004KP-D3 for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 10:56:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX5rG-0005I4-BI for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 10:56:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iX5rG-0005Hz-8S for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 10:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iX5rG-0007rN-5H for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2019 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29078 X-GNU-PR-Package: emacs Original-Received: via spool by 29078-submit@debbugs.gnu.org id=B29078.157417890830136 (code B ref 29078); Tue, 19 Nov 2019 15:56:02 +0000 Original-Received: (at 29078) by debbugs.gnu.org; 19 Nov 2019 15:55:08 +0000 Original-Received: from localhost ([127.0.0.1]:48264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX5qO-0007pz-8T for submit@debbugs.gnu.org; Tue, 19 Nov 2019 10:55:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX5qM-0007pO-EO for 29078@debbugs.gnu.org; Tue, 19 Nov 2019 10:55:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iX5qG-0004LY-Qx; Tue, 19 Nov 2019 10:55:00 -0500 Original-Received: from [176.228.60.248] (port=3968 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iX5qG-00022y-5S; Tue, 19 Nov 2019 10:55:00 -0500 In-reply-to: <87h831orio.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 18 Nov 2019 21:31:43 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:171984 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , 29078@debbugs.gnu.org > Date: Mon, 18 Nov 2019 21:31:43 +0100 > > Vincent Lefevre writes: > > > On 2019-11-18 19:32:41 +0100, Lars Ingebrigtsen wrote: > >> Using > >> > >> ftcrhb:-PfEd-DejaVu Sans > >> Mono-normal-normal-normal-*-25-*-*-*-m-0-iso10646-1 (#x957) > > > > Under Debian/unstable, I don't get it either. Neither with > > > > ftcrhb:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1 > > > > But the bug occurs with > > > > ftcrhb:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-18-*-*-*-m-0-iso10646-1 > > > > That's for the rendering. I don't know whether the cell height is > > honored in all these cases. > > Ah, yes. If I say > > emacs -Q -fn "DejaVu Sans Mono:size=30" > > and vary the size, I get the gaps in the lines for some sizes (like 23) > but not others (like 25). Strangely, I see small (1- or 2-pixel) gaps for Courier New on MS-Windows, and only for a couple of size values. Moreover, with DejaVu Sans Mono, I don't see any gaps for all sizes between 9 and 30. FWIW, the font-related APIs on MS-Windows report glyph metrics as integer values, so Emacs doesn't round anywhere. So either MS-Windows does a better job with that font (unlikely) or there's something else at work here. I guess we will have to wait until someone tells us what to do here.