emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eww


From: Eli Zaretskii
Subject: Re: eww
Date: Wed, 19 Jun 2013 17:55:10 +0300

> From: Lars Magne Ingebrigtsen <address@hidden>
> Cc: address@hidden
> Date: Wed, 19 Jun 2013 09:13:07 +0200
> 
> >  . Images embedded in the pages somehow get newlines before and after
> >    them, which looks ugly: each image is alone on its own line.  E.g.,
> >    in Wikipedia, look at any page that shows formulae.  Ugly.
> 
> Yes.  There's two problems:
> 
> 1) Images are inserted asynchronously, so shr has no idea how big the
> images are when it renders the text.

Don't you have some pixel size information about each image in the
page?

> shr could wait until it's loaded all the images, but that would be
> slow and awkward, or it could re-flow the text, which it doesn't
> have enough data at that point to do.

You could have an option to make it wait, I personally don't believe
it will slow things down.  Alternatively, reflowing when an image is
inserted doesn't sound too hard, either.

> 2) When rendering tables, shr tries to keep everything lined up.  Even
> if it knew how big the images are (which it doesn't), the Emacs display
> engine isn't powerful enough to line stuff up vertically when there's
> elements of different sizes.  So it can't.

Does the 'space' display spec fit that bill?

> >  . Buttons on the tool bar are sorely missed.
> 
> What kind of buttons?

At the very least, Back, Forward, Reload, and Cancel.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]