From unknown Sat Jun 21 12:21:15 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4509: Line spacing not correct for some fonts. Reply-To: David Engster , 4509@debbugs.gnu.org Resent-From: David Engster Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 21 Sep 2009 18:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4509 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1253559037982 (code B ref -1); Mon, 21 Sep 2009 18:55:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Sep 2009 18:50:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8LIoZmq000978 for ; Mon, 21 Sep 2009 11:50:36 -0700 Received: from mx10.gnu.org ([199.232.76.166]:60264) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mpny6-0004zA-OQ for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 14:50:34 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mpny4-00052X-BI for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 14:50:34 -0400 Received: from m61s02.vlinux.de ([83.151.21.164]:57057) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mpny3-00051z-ME for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 14:50:32 -0400 Received: from dslc-082-083-060-213.pools.arcor-ip.net ([82.83.60.213] helo=honk) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Mpny1-0002pS-Rc for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 20:50:30 +0200 From: David Engster To: emacs-pretest-bug@gnu.org Date: Mon, 21 Sep 2009 20:44:36 +0200 Message-ID: <87tyywnnc7.fsf@engster.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) I noticed that in Emacs 23.1, even with line-spacing 'nil', there often is some additional space between two lines. It seems it depends on the used font how much additional space is inserted. For testing this, simply insert one of the 'box drawing' unicode characters, for example by evaluating (ucs-insert #x2503) which inserts the 'heavy vertical' unicode character. With the default line-spacing set to 'nil', I would expect these characters to seamlessly connect when repeated in the following lines, but they often don't. It works with the default font used on my system, which is -unknown-DejaVu Sans Mono-normal-normal-normal-*-19-*-*-*-m-0-iso10646-1 However, when I switch to Terminus, i.e., -xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1 I see 1 pixel of space between the characters. Same happens with some truetype fonts, e.g, -unknown-Kochi Gothic-normal-normal-normal-*-19-*-*-*-*-0-iso10646-1 I tested this on different machines to make sure it isn't some issue with the font setup on my machine. Also, I tested the box drawing characters from the Terminus font with 'gedit', and they do connect there. Regards, David In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-09-09 on kafka Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--prefix=/opt/cedemacs'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o e r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. From unknown Sat Jun 21 12:21:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: David Engster Subject: bug#4509: closed (Re: Line spacing not correct for some fonts.) Message-ID: References: <878vsfxyxm.fsf@engster.org> <87tyywnnc7.fsf@engster.org> X-Gnu-PR-Message: they-closed 4509 X-Gnu-PR-Package: emacs Reply-To: 4509@debbugs.gnu.org Date: Sun, 03 Jul 2011 13:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1309700702-28839-1" This is a multi-part message in MIME format... ------------=_1309700702-28839-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #4509: Line spacing not correct for some fonts. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 4509@debbugs.gnu.org. --=20 4509: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4509 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1309700702-28839-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4509-done) by debbugs.gnu.org; 3 Jul 2011 13:44:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdMyk-0007Ul-DE for submit@debbugs.gnu.org; Sun, 03 Jul 2011 09:44:54 -0400 Received: from v3-1008.vxen.de ([79.140.41.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdMyf-0007UT-B8 for 4509-done@debbugs.gnu.org; Sun, 03 Jul 2011 09:44:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=Xs49ajTyptQng1dhxOGaUGu0NkBvyLZjZ7/Z/K1Smyw=; b=A+qV+/Ktwsc8jbUqqGvLIBfNEruDuyocC5gZy0sDSZFq6a5/gCWsH6TUUOf8o/XW9lInpvL5+hGzA1hMls0OUoUMWV9ZgjsLxaDBe5bbHX5MIJjlDYEoBv8h7mKoX0L/; Received: from dslc-082-082-163-100.pools.arcor-ip.net ([82.82.163.100] helo=spaten) by v3-1008.vxen.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QdMy2-0002I4-1j for 4509-done@debbugs.gnu.org; Sun, 03 Jul 2011 15:44:29 +0200 From: David Engster To: 4509-done@debbugs.gnu.org Subject: Re: Line spacing not correct for some fonts. User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Date: Sun, 03 Jul 2011 15:43:01 +0200 Message-ID: <878vsfxyxm.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 4509-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) I cannot reproduce this problem anymore on Emacs 23.3 and neither on Emacs 24.0.50, so I'm closing this bug. -David ------------=_1309700702-28839-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 21 Sep 2009 18:50:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8LIoZmq000978 for ; Mon, 21 Sep 2009 11:50:36 -0700 Received: from mx10.gnu.org ([199.232.76.166]:60264) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mpny6-0004zA-OQ for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 14:50:34 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mpny4-00052X-BI for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 14:50:34 -0400 Received: from m61s02.vlinux.de ([83.151.21.164]:57057) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mpny3-00051z-ME for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 14:50:32 -0400 Received: from dslc-082-083-060-213.pools.arcor-ip.net ([82.83.60.213] helo=honk) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Mpny1-0002pS-Rc for emacs-pretest-bug@gnu.org; Mon, 21 Sep 2009 20:50:30 +0200 From: David Engster To: emacs-pretest-bug@gnu.org Subject: Line spacing not correct for some fonts. Date: Mon, 21 Sep 2009 20:44:36 +0200 Message-ID: <87tyywnnc7.fsf@engster.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) I noticed that in Emacs 23.1, even with line-spacing 'nil', there often is some additional space between two lines. It seems it depends on the used font how much additional space is inserted. For testing this, simply insert one of the 'box drawing' unicode characters, for example by evaluating (ucs-insert #x2503) which inserts the 'heavy vertical' unicode character. With the default line-spacing set to 'nil', I would expect these characters to seamlessly connect when repeated in the following lines, but they often don't. It works with the default font used on my system, which is -unknown-DejaVu Sans Mono-normal-normal-normal-*-19-*-*-*-m-0-iso10646-1 However, when I switch to Terminus, i.e., -xos4-Terminus-normal-normal-normal-*-14-*-*-*-c-80-iso10646-1 I see 1 pixel of space between the characters. Same happens with some truetype fonts, e.g, -unknown-Kochi Gothic-normal-normal-normal-*-19-*-*-*-*-0-iso10646-1 I tested this on different machines to make sure it isn't some issue with the font setup on my machine. Also, I tested the box drawing characters from the Terminus font with 'gedit', and they do connect there. Regards, David In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-09-09 on kafka Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--prefix=/opt/cedemacs'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o e r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. ------------=_1309700702-28839-1--