aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2019-01-20 17:59:12 +0200
committerEli Zaretskii2019-01-20 17:59:12 +0200
commit67b1053dcd958d21a964dc09c2ba9666e11240b2 (patch)
tree1eb1272130b47d1fa76f095b300a28df7e808a0f /etc
parent551051596fe51d6e232315eeda8a0a79eb43bfdf (diff)
downloademacs-67b1053dcd958d21a964dc09c2ba9666e11240b2.tar.gz
emacs-67b1053dcd958d21a964dc09c2ba9666e11240b2.zip
Support native image resizing on MS-Windows
* src/w32term.c (x_draw_image_foreground): Scale the image if the requested dimensions are different from the bitmap dimensions. * src/image.c (Fimage_scaling_p): Return t when HAVE_NTGUI. (x_set_image_size) [HAVE_NTGUI]: Record the scaled dimensions in the image struct. * src/dispextern.h (HAVE_NATIVE_SCALING): Define when HAVE_NTGUI as well. * etc/NEWS: Update the announcement of native image scaling.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9d91a30a583..21187474a28 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1505,8 +1505,12 @@ buffer's 'default-directory' and invoke that file name handler to make
1505the process. That way 'make-process' can start remote processes. 1505the process. That way 'make-process' can start remote processes.
1506 1506
1507+++ 1507+++
1508** Emacs now supports resizing images without ImageMagick on X window 1508** Emacs now supports resizing (scaling) of images without ImageMagick.
1509systems where the XRender extension is available, and on the NS port. 1509All modern systems are supported by this feature. (On GNU and Unix
1510systems, the XRender extension to X11 is required for this to be
1511available; the configure script will test for it and, if found, enable
1512scaling.)
1513
1510The new function 'image-scaling-p' can be used to test whether any 1514The new function 'image-scaling-p' can be used to test whether any
1511given frame supports resizing. 1515given frame supports resizing.
1512 1516