]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix wording of a recently added documentation
authorEli Zaretskii <eliz@gnu.org>
Thu, 11 Mar 2021 06:37:29 +0000 (08:37 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 11 Mar 2021 06:37:29 +0000 (08:37 +0200)
* etc/NEWS:
* doc/lispref/display.texi (Image Descriptors): Fix wording of the
description of :transform-smoothing.

doc/lispref/display.texi
etc/NEWS

index 6dfbabb2b638e5384c7fbfc92ee731a242da8da3..9723376de91588c0259409287c3f6516dde84010 100644 (file)
@@ -5393,15 +5393,14 @@ values rotate clockwise, negative values counter-clockwise.  Rotation
 is performed after scaling and cropping.
 
 @item :transform-smoothing @var{smooth}
-When @code{t} any image transform will have smoothing applied, and if
-@code{nil} no smoothing will be applied.  The exact algorithm used
-will be platform dependent, but should be equivalent to bilinear
-filtering.  Disabling smoothing will use a nearest neighbor
+If this is @code{t}, any image transform will have smoothing applied;
+if @code{nil}, no smoothing will be applied.  The exact algorithm used
+is platform dependent, but should be equivalent to bilinear
+filtering.  Disabling smoothing will use the nearest neighbor
 algorithm.
 
-The default, if this property is not specified, will be for
-down-scaling to apply smoothing, and up-scaling to not apply
-smoothing.
+The default, if this property is not specified, is for down-scaling to
+apply smoothing, and for up-scaling to not apply smoothing.
 
 @item :index @var{frame}
 @xref{Multi-Frame Images}.
index ac092675b4db43f418dd4f32d2815d43d0073821..b3f4ade3373575d2915e9b6b92e85e567e6acf9f 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1477,7 +1477,7 @@ background colors or transparency, such as xbm, pbm, svg, png and gif.
 *** Image smoothing can now be explicitly enabled or disabled.
 Smoothing applies a bilinear filter while scaling or rotating an image
 to prevent aliasing and other unwanted effects.  The new image
-property ':transform-smoothing' can be set to t to enable smoothing
+property ':transform-smoothing' can be set to t to force smoothing
 and nil to disable smoothing.
 
 The default behaviour of smoothing on down-scaling and not smoothing