[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47705: [PATCH] EWW: Customize display of images
From: |
Ralph Schleicher |
Subject: |
bug#47705: [PATCH] EWW: Customize display of images |
Date: |
Mon, 12 Apr 2021 19:36:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
>> Additionally, images or ALT texts are always displayed on a line by
>> itself. This may waste a lot of vertical space, e.g. when displaying
>> the Common Lisp HyperSpec. The attached patch fixes these issues.
>
> But not this bit.
[...]
> shr should instead include images in-line if they are "small" -- i.e.,
> if they've got a height that's somewhat comparable to the line height,
> but not otherwise.
>
> This sounds like trivial thing to do, but it's not -- we don't know the
> size of the images until we load them (usually), and shr doesn't to
> re-flowing at all.
>
> shr could do inline images if the images have known width/heights (and
> the images are "small"), though. Patches welcome.
I see your point. Would it be acceptable if, as a first step, inlining
of images is combined with shr-inhibit-images non-nil? Then we know
that the ALT texts fit into a line.
--
Ralph
- bug#47705: [PATCH] EWW: Customize display of images, Ralph Schleicher, 2021/04/11
- bug#47705: [PATCH] EWW: Customize display of images, Lars Ingebrigtsen, 2021/04/12
- bug#47705: [PATCH] EWW: Customize display of images,
Ralph Schleicher <=
- bug#47705: [PATCH] EWW: Customize display of images, Lars Ingebrigtsen, 2021/04/13
- bug#47705: [PATCH] EWW: Customize display of images, Ralph Schleicher, 2021/04/13
- bug#47705: [PATCH] EWW: Customize display of images, Jose A. Ortega Ruiz, 2021/04/13
- bug#47705: [PATCH] EWW: Customize display of images, Lars Ingebrigtsen, 2021/04/14
- bug#47705: [PATCH] EWW: Customize display of images, Ralph Schleicher, 2021/04/14