]> git.eshelyaron.com Git - emacs.git/commit
Don't smooth images when scaling up (bug#38394)
authorAlan Third <alan@idiocy.org>
Sun, 2 Aug 2020 19:43:56 +0000 (20:43 +0100)
committerAlan Third <alan@idiocy.org>
Tue, 4 Aug 2020 19:50:01 +0000 (20:50 +0100)
commit519a93e067f459ceddb57573261a52118086b73d
tree5d3411e476eb7bb4082bfcba925de00d6cbc0659
parent6e70b3793b9cb7730ab8a7132aa6e99f1ca13f98
Don't smooth images when scaling up (bug#38394)

* src/image.c (image_set_transform [HAVE_XRENDER]): Use different filter
when scaling up vs scaling down.
* src/nsimage.m (ns_image_set_smoothing):
([EmacsImage setSmoothing:]): New functions.
* src/nsterm.h: Add definitions.
* src/nsterm.m (ns_dumpglyphs_image): Disable smoothing if requested.
src/image.c
src/nsimage.m
src/nsterm.h
src/nsterm.m