]> code.delx.au - gnu-emacs/commit
Automatically scale images up on high-density screens
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Feb 2016 07:22:53 +0000 (18:22 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Feb 2016 07:22:53 +0000 (18:22 +1100)
commit857c5c24d6e57ac593e000198b644a0a88f54915
treedc2698829c9122072c9030f7c9a4545dcbb2fc4e
parentda66e5585083c2c357e960144fd4ae0e75310f74
Automatically scale images up on high-density screens

* doc/lispref/display.texi (ImageMagick Images): Mention :scale.
(Defining Images): Mention image-scaling-factor.

* lisp/image.el (image-compute-scaling-factor): New function
(bug#22172).
(create-image): Use it.
(image-scaling-factor): New variable.

* src/image.c (compute_image_size): Take :scale into account.
doc/lispref/display.texi
etc/NEWS
lisp/image.el
src/image.c