From: Oliver Scholz <alkibiades@gmx.de>
Subject: Unicode box-drawing chars
Date: Thu, 12 Sep 2002 16:42:35 +0200 [thread overview]
Message-ID: <m34rcvpacf.fsf@ID-87814.user.dfncis.de> (raw)
This may be slightly off topic. It is, however, tangential.
How do I deal with UCS box-drawing chars in Emacs? With the use of
font-sets, it is very likely that the box-drawing chars and the
latin-chars (and the Space) have different character width. So I can
not rely on the box-drawing-chars being properly aligned.
For example: I use adobe-courier for latin characters and gnu-unifont
for everything else. Due to this in the following examples the "║"s on
the right side are not properly aligned.
╔════╗
║ ║
║ ║
║ ║
║ ║
╚════╝
╔══════╗
║Dies ║
║ist ║
║ein ║
║Test. ║
╚══════╝
Naturally things become even more strange in this example:
╔══╦══╗
║┌─╨─┐║
║│╲ ╱│║
╠╡ ╳ ╞╣
║│╱ ╲│║
║└─╥─┘║
╚══╩══╝
Why do I ask and what do I want? There are many places where the
box-drawing chars could be useful in Emacs. For example I could
imagine to enhance the widget-library to use those chars. Or Emacs/W3
could use them to render tables or whatever. Does anybody have an idea
how to deal with this problem?
-- Oliver
--
26 Fructidor an 210 de la Révolution
Liberté, Egalité, Fraternité!
next reply other threads:[~2002-09-12 14:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-12 14:42 Oliver Scholz [this message]
2002-09-12 13:27 ` Unicode box-drawing chars Jesper Harder
2002-09-12 14:09 ` Kai Großjohann
2002-09-13 1:15 ` Galen Boyer
2002-09-13 1:36 ` Jesper Harder
2002-09-13 12:04 ` Oliver Scholz
2002-09-14 20:49 ` Jesper Harder
2002-09-12 13:56 ` Kai Großjohann
2002-09-12 15:44 ` Roman Belenov
2002-09-13 11:57 ` Oliver Scholz
2002-09-13 16:14 ` Kai Großjohann
2002-09-14 7:46 ` Graphics in Emacs (was: Unicode box-drawing chars) Oliver Scholz
2002-09-14 6:59 ` Stefan Monnier <foo@acm.com>
2002-09-15 19:58 ` Oliver Scholz
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m34rcvpacf.fsf@ID-87814.user.dfncis.de \
--to=alkibiades@gmx.de \
/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.
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).