[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47819: 8.0.50; When :height/:width image attribute is specified, :sc
From: |
Alan Third |
Subject: |
bug#47819: 8.0.50; When :height/:width image attribute is specified, :scale factor is not applied |
Date: |
Fri, 16 Apr 2021 19:14:50 +0100 |
On Fri, Apr 16, 2021 at 08:16:20AM +0200, David Ponce wrote:
> Hello,
>
> For the image :scale attribute the Elisp reference manual say that:
>
> If both ‘:scale’ and ‘:height’/‘:width’ are
> specified, the height/width will be adjusted by the specified
> scaling factor.
>
> It seems, however, that this is not true, when the :height or :width
> or both attributes of an image are specified, the :scale factor is not
> applied.
Hmm, I'm not sure which is the more desirable behaviour, but fixing it
to match the documentation appears to be trivial. See attached.
--
Alan Third
0001-Make-scale-affect-width-and-height-bug-47819.patch
Description: Text document