From: "Štěpán Němec" <stepnem@gmail.com>
To: ding@gnus.org
Subject: Re: A little idea for shr and table
Date: Tue, 12 Oct 2010 14:48:04 +0200 [thread overview]
Message-ID: <87wrpn60hn.fsf@gmail.com> (raw)
In-Reply-To: <sa3k4lor7gn.fsf@cigue.easter-eggs.fr> (Julien Danjou's message of "Mon, 11 Oct 2010 18:59:36 +0200")
Julien Danjou <julien@danjou.info> writes:
> Hi there,
>
> I've used mm-shr for the last couple of days and I'm happy with it.
>
> I'm just sad to see that there's no images in the tables. But i've got
> a little idea that could work.
>
> I heard that Ted had some code to create SVG images on the fly. That
> could be used to just draw a couple of fixed size images to build the
> table (equivalent to the current |, -, +). Since we can't know the size
> of a char, we would know the size of the image we draw here to build the
> table borders.
>
> Then, it'd be possible to build table with the right column width and
> line height to match all embedded images, and therefore draw a cute
> table.
>
> Using something like (propertize "" 'display '(space . (:width 100))),
> we may be able to even draw borderless tables for free.
>
> Yeah, I could probably give it a try, but I think that if Lars like the
> idea he might want to play with it himself or just say "that won't
> work". ;-)
FWIW, I like ASCII art better, so I'd prefer to at least have an option
to get text-only tables if the "fancy" method becomes the default.
Štěpán
next prev parent reply other threads:[~2010-10-12 12:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 16:59 Julien Danjou
2010-10-11 18:39 ` Lars Magne Ingebrigtsen
2010-10-11 19:07 ` David Engster
2010-10-11 19:10 ` Lars Magne Ingebrigtsen
2010-10-11 19:18 ` David Engster
2010-10-11 19:21 ` Lars Magne Ingebrigtsen
2010-10-11 19:25 ` David Engster
2010-10-11 19:35 ` Julien Danjou
2010-10-11 19:38 ` Lars Magne Ingebrigtsen
2010-10-12 14:10 ` Ted Zlatanov
2010-10-12 14:27 ` Lars Magne Ingebrigtsen
2010-10-11 19:07 ` Ted Zlatanov
2010-10-12 12:48 ` Štěpán Němec [this message]
2010-10-12 20:44 ` James Cloos
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=87wrpn60hn.fsf@gmail.com \
--to=stepnem@gmail.com \
--cc=ding@gnus.org \
/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 NNTP newsgroup(s).