Gnus development mailing list
 help / color / mirror / Atom feed
* A little idea for shr and table
@ 2010-10-11 16:59 Julien Danjou
  2010-10-11 18:39 ` Lars Magne Ingebrigtsen
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Julien Danjou @ 2010-10-11 16:59 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]

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". ;-)

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2010-10-12 20:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-11 16:59 A little idea for shr and table 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
2010-10-12 20:44   ` James Cloos

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).