diff options
| author | Eli Zaretskii | 2019-01-20 17:59:12 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-01-20 17:59:12 +0200 |
| commit | 67b1053dcd958d21a964dc09c2ba9666e11240b2 (patch) | |
| tree | 1eb1272130b47d1fa76f095b300a28df7e808a0f /etc | |
| parent | 551051596fe51d6e232315eeda8a0a79eb43bfdf (diff) | |
| download | emacs-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/NEWS | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -1505,8 +1505,12 @@ buffer's 'default-directory' and invoke that file name handler to make | |||
| 1505 | the process. That way 'make-process' can start remote processes. | 1505 | the 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. |
| 1509 | systems where the XRender extension is available, and on the NS port. | 1509 | All modern systems are supported by this feature. (On GNU and Unix |
| 1510 | systems, the XRender extension to X11 is required for this to be | ||
| 1511 | available; the configure script will test for it and, if found, enable | ||
| 1512 | scaling.) | ||
| 1513 | |||
| 1510 | The new function 'image-scaling-p' can be used to test whether any | 1514 | The new function 'image-scaling-p' can be used to test whether any |
| 1511 | given frame supports resizing. | 1515 | given frame supports resizing. |
| 1512 | 1516 | ||