unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Small misalignments in display of utf-8 characters
@ 2012-10-07 13:48 Ulrich Mueller
  2012-10-07 14:03 ` Eli Zaretskii
  2012-10-07 14:33 ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Mueller @ 2012-10-07 13:48 UTC (permalink / raw)
  To: emacs-devel

When I look at the file
<http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt>
in Emacs, I see some small misalignments, for example in the compound
brackets. See the screenshot here:
<http://dev.gentoo.org/~ulm/screenshots/emacs.png>

It's not a big deal, but I'm curious what causes this? When running
Emacs in a terminal (xterm or gnome-terminal), everything is well
aligned: <http://dev.gentoo.org/~ulm/screenshots/xterm.png>

Ulrich



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Small misalignments in display of utf-8 characters
  2012-10-07 13:48 Small misalignments in display of utf-8 characters Ulrich Mueller
@ 2012-10-07 14:03 ` Eli Zaretskii
  2012-10-07 14:33 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2012-10-07 14:03 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: emacs-devel

> Date: Sun, 7 Oct 2012 15:48:52 +0200
> From: Ulrich Mueller <ulm@gentoo.org>
> 
> When I look at the file
> <http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt>
> in Emacs, I see some small misalignments, for example in the compound
> brackets. See the screenshot here:
> <http://dev.gentoo.org/~ulm/screenshots/emacs.png>
> 
> It's not a big deal, but I'm curious what causes this? When running
> Emacs in a terminal (xterm or gnome-terminal), everything is well
> aligned: <http://dev.gentoo.org/~ulm/screenshots/xterm.png>

You need a fixed font, I think.  Otherwise, you cannot expect
characters on different lines to align.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Small misalignments in display of utf-8 characters
  2012-10-07 13:48 Small misalignments in display of utf-8 characters Ulrich Mueller
  2012-10-07 14:03 ` Eli Zaretskii
@ 2012-10-07 14:33 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2012-10-07 14:33 UTC (permalink / raw)
  To: Ulrich Mueller; +Cc: emacs-devel

Ulrich Mueller <ulm@gentoo.org> writes:

> When I look at the file
> <http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt>
> in Emacs, I see some small misalignments, for example in the compound
> brackets. See the screenshot here:
> <http://dev.gentoo.org/~ulm/screenshots/emacs.png>
>
> It's not a big deal, but I'm curious what causes this? When running
> Emacs in a terminal (xterm or gnome-terminal), everything is well
> aligned: <http://dev.gentoo.org/~ulm/screenshots/xterm.png>

Unlike xterm, Emacs can mix and match different fonts at the same time,
which may not have the exact same metrics.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-07 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07 13:48 Small misalignments in display of utf-8 characters Ulrich Mueller
2012-10-07 14:03 ` Eli Zaretskii
2012-10-07 14:33 ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).