From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Kleinehellefort Newsgroups: gmane.emacs.bugs Subject: bug#6718: 23.2; Should align glyphs according to grid in ansi-term Date: Sat, 24 Jul 2010 17:57:59 +0200 Message-ID: <87k4ok27p4.fsf@molb.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280047880 12333 80.91.229.12 (25 Jul 2010 08:51:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 08:51:20 +0000 (UTC) To: 6718@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 25 10:51:19 2010 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.69) (envelope-from ) id 1OcwvW-0000n8-FR for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jul 2010 10:51:18 +0200 Original-Received: from localhost ([127.0.0.1]:58029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcwvV-0001NZ-TD for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jul 2010 04:51:17 -0400 Original-Received: from [140.186.70.92] (port=57662 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OchjA-00069Y-7M for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 12:37:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ochj9-0006dz-4l for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 12:37:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54942) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ochj9-0006dv-29 for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 12:37:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OchIa-0007Ss-61; Sat, 24 Jul 2010 12:10:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jonathan Kleinehellefort Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jul 2010 16:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6718 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127998779928683 (code B ref -1); Sat, 24 Jul 2010 16:10:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2010 16:09:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OchIU-0007Sa-3B for submit@debbugs.gnu.org; Sat, 24 Jul 2010 12:09:58 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Och8l-0007OF-85 for submit@debbugs.gnu.org; Sat, 24 Jul 2010 11:59:56 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:39255) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Och8l-0007Hn-OT for submit@debbugs.gnu.org; Sat, 24 Jul 2010 11:59:55 -0400 Original-Received: from [140.186.70.92] (port=39933 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Och8k-0006Df-4m for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 11:59:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Och8i-0001IU-Lw for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 11:59:53 -0400 Original-Received: from molb.org ([188.40.175.106]:35706) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Och8i-0001Hz-HL for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 11:59:52 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by molb.org (Postfix) with ESMTPSA id 60BCB200E0BA for ; Sat, 24 Jul 2010 17:59:48 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 24 Jul 2010 12:09:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Jul 2010 12:10:04 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 25 Jul 2010 04:51:11 -0400 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: , 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:38901 Archived-At: I came across this when I tried using the font Inconsolata inside ansi-term. Inconsolata does not cover a couple of special Unicode characters, some of which frequently show up in the output of various terminal applications. Emacs will then fall back on some other font with completely different geometry for those, destroying the grid layout of the buffer. Steps to reproduce: 1. run "emacs -Q" 2. M-x term 4. type "pstree" into the shell 5. Choose "Inconsolata" as your font Result: Characters now have non-uniform width and height. Note that the pretty tree drawing gets destroyed. Expected result: Glyphs should be aligned in a grid. Using a more comprehensive font (e.g. DejaVu Sans Mono) does not solve this completely, as you can still get the same problem with e.g. Chinese characters. In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-05-16 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' 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: Term