From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4509: Line spacing not correct for some fonts. Date: Mon, 21 Sep 2009 20:44:36 +0200 Message-ID: <87tyywnnc7.fsf@engster.org> Reply-To: David Engster , 4509@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253560078 15727 80.91.229.12 (21 Sep 2009 19:07:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2009 19:07:58 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 21 21:07:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MpoEn-00088o-KW for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Sep 2009 21:07:49 +0200 Original-Received: from localhost ([127.0.0.1]:52438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpoEm-0002jK-Qg for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Sep 2009 15:07:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpoEA-0002dA-Uy for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2009 15:07:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpoE6-0002YY-5h for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2009 15:07:10 -0400 Original-Received: from [199.232.76.173] (port=50594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpoE5-0002YI-Pm for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2009 15:07:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43838) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MpoE5-0007Fq-6U for bug-gnu-emacs@gnu.org; Mon, 21 Sep 2009 15:07:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8LJ72jY004138; Mon, 21 Sep 2009 12:07:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8LIt5L3001471; Mon, 21 Sep 2009 11:55:05 -0700 Resent-Date: Mon, 21 Sep 2009 11:55:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Engster Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 21 Sep 2009 18:55:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4509 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1253559037982 (code B ref -1); Mon, 21 Sep 2009 18:55:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 21 Sep 2009 18:50:37 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 21 Sep 2009 15:07:10 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31325 gmane.emacs.pretest.bugs:25066 Archived-At: 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.