bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38109: Updated Emacs to HEAD, consistently not scaling now


From: Adam Sjøgren
Subject: bug#38109: Updated Emacs to HEAD, consistently not scaling now
Date: Sat, 09 Nov 2019 11:28:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli writes:

>> However the png-image is still not scaled, and still shown in the larger
>> canvas.

> What do you mean by "shown in the larger canvas"?

I mean that the original 16x16 pixel image is shown in the corner of a
320x320 pixel white box.

As can be seen in the screenshot here:

 · 
https://debbugs.gnu.org/cgi/bugreport.cgi?att=1;filename=emacs27-image-scaling.png;bug=38109;msg=5

> Can you post a screenshot of how you see those PNG images with and
> without scaling, after applying that patch?

The patch doesn't make any difference on the scaling of the PNG images.

--with-cairo does.

Here is a screenshot of the attached .png with and without scaling,
without the patch and without Cairo (i.e. with Xrender):

PNG image

Here is a screenshot of the attached .png with and without scaling, with
the patch and without Cairo:

Attachment: with-patch.png
Description: PNG image

Here is what happens when I also apply Alan's patch for
image_set_transform():

PNG image

And finally what I see with no patches and --with-cairo (this is the
expected result):

PNG image

Here is the image I'm using for testing:

  medium-wry.png: PNG image data, 16 x 16, 4-bit colormap, non-interlaced:

PNG image


reply via email to

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