Gnus development mailing list
 help / color / mirror / Atom feed
From: David Engster <deng@randomsample.de>
To: ding@gnus.org
Subject: Re: A little idea for shr and table
Date: Mon, 11 Oct 2010 21:18:09 +0200	[thread overview]
Message-ID: <87eibwczda.fsf@randomsample.de> (raw)
In-Reply-To: <m3k4loo88y.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 11 Oct 2010 21:10:53 +0200")

Lars Magne Ingebrigtsen writes:
> David Engster <deng@randomsample.de> writes:
>> I've played around with it to get a nicer image display and smoother
>> scrolling for emacs-w3m, but I gave up (the funny thing is that w3m is
>> using exactly this technique when running in a terminal). But it is
>> very difficult to do right in Emacs since you have to take into
>> account the font height, line-spacing, etc.
>
> But slicing the images will probably always give a better result in
> shr, since we're not actually displaying images side-by-side with text.
> I'll try playing with this...

Note that insert-sliced-image will give you gaps with a
line-spacing>1. You don't have to override the line-spacing for the
whole buffer, though; you can set the line-height text property on the
newlines in the sliced-image area instead (I've written a small function
for this; see http://www.randomsample.de/dru5/node/24).

-David



  reply	other threads:[~2010-10-11 19:18 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 [this message]
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

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=87eibwczda.fsf@randomsample.de \
    --to=deng@randomsample.de \
    --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).