From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#6718: 23.2; Should align glyphs according to grid in ansi-term Date: Wed, 18 Nov 2020 20:25:50 -0800 Message-ID: References: <87k4ok27p4.fsf@molb.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20756"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 6718@debbugs.gnu.org To: Jonathan Kleinehellefort Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 05:26:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfbWR-0005IB-2I for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 05:26:15 +0100 Original-Received: from localhost ([::1]:55868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfbWQ-0001U1-4p for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 23:26:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfbWE-0001To-UN for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 23:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfbWE-0000tY-Ff for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 23:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfbWE-0003pl-Cc for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2020 23:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2020 04:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6718 X-GNU-PR-Package: emacs Original-Received: via spool by 6718-submit@debbugs.gnu.org id=B6718.160575996014730 (code B ref 6718); Thu, 19 Nov 2020 04:26:02 +0000 Original-Received: (at 6718) by debbugs.gnu.org; 19 Nov 2020 04:26:00 +0000 Original-Received: from localhost ([127.0.0.1]:37483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfbWC-0003pU-IH for submit@debbugs.gnu.org; Wed, 18 Nov 2020 23:26:00 -0500 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:37932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfbW8-0003pC-Sd for 6718@debbugs.gnu.org; Wed, 18 Nov 2020 23:25:59 -0500 Original-Received: by mail-ej1-f46.google.com with SMTP id a16so5976996ejj.5 for <6718@debbugs.gnu.org>; Wed, 18 Nov 2020 20:25:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=xCg5GGSaeTZl7FK4mqEGPNW+qVHK51nN+Rlv0nNRmCY=; b=dFlegexYbE4biLdNPzEwA8YOyaMIjvuIR7W7R1JLZyZe5Uxec8EJ91Gq9QxPZCMFJ2 +Zi8kJsU6V3GpterKG7XRYJLa8lcBic5M6arVu17XxHyQlPrwfc6YOzooyypnzRACknb QHQs/aZpZPgMUrrKj7l4KVE1p2p3GA6Vz/LONzPZq0MVqX9JWiT/WV8olATF9a+XhNg7 dXoSOgPKEAkNqlfNP7X9usZx0dcM2fSGWmCXR9EtFwq8Vs9gjHGzwHI8lgbF0cvbyXJF wMjFE/66p0nWZx3gdqCgyAlDCovcq06fNB+0eORqbujRY3Mz+HEyutyfUgooUHpoNfW9 jg7Q== X-Gm-Message-State: AOAM530B5hhf3SEurLgHHTGsnfMUnALyF3qhZEH91PWZWEAfRDC0JMtx LiMvBgYr9niwlSf2n9fJr7Wt7qvLkMndtAEcEnw= X-Google-Smtp-Source: ABdhPJwXTPmizJCJpe3WWyibzUd+LvRFRrlUMWEQC/Z8FMi6lwoZGIiuIvpheeEwbHw0zrX+ld6mjr/46iBo8UHFOd0= X-Received: by 2002:a17:906:d9d0:: with SMTP id qk16mr297365ejb.420.1605759950915; Wed, 18 Nov 2020 20:25:50 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 18 Nov 2020 20:25:50 -0800 In-Reply-To: <87k4ok27p4.fsf@molb.org> (Jonathan Kleinehellefort's message of "Sat, 24 Jul 2010 17:57:59 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193690 Archived-At: Jonathan Kleinehellefort writes: > 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. Is there really anything that can be done about this, besides a complete redesign of how fonts work in Emacs?