all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Stefan Kangas <stefan@marxist.se>
Cc: Jonathan Kleinehellefort <jk@molb.org>, 6718@debbugs.gnu.org
Subject: bug#6718: 23.2; Should align glyphs according to grid in ansi-term
Date: Thu, 19 Nov 2020 08:48:13 +0000	[thread overview]
Message-ID: <871rgpyboy.fsf@tcd.ie> (raw)
In-Reply-To: <CADwFkmm7X-91MoBFrH_Mj7aNHdi7fkYcOV1XUfErWv_OgWffNA@mail.gmail.com> (Stefan Kangas's message of "Wed, 18 Nov 2020 20:25:50 -0800")

Stefan Kangas <stefan@marxist.se> writes:

> Jonathan Kleinehellefort <jk@molb.org> 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?

Is there any overlap here with https://debbugs.gnu.org/44664?

-- 
Basil





  reply	other threads:[~2020-11-19  8:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-24 15:57 bug#6718: 23.2; Should align glyphs according to grid in ansi-term Jonathan Kleinehellefort
2020-11-19  4:25 ` Stefan Kangas
2020-11-19  8:48   ` Basil L. Contovounesios [this message]
2020-11-19 14:44     ` Eli Zaretskii
2020-11-19 15:32       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rgpyboy.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=6718@debbugs.gnu.org \
    --cc=jk@molb.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.