emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0445720: Fix wording of a recently added documentation


From: Eli Zaretskii
Subject: master 0445720: Fix wording of a recently added documentation
Date: Thu, 11 Mar 2021 01:38:02 -0500 (EST)

branch: master
commit 0445720b75edc8ff06074750512ade3d0e667575
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix wording of a recently added documentation
    
    * etc/NEWS:
    * doc/lispref/display.texi (Image Descriptors): Fix wording of the
    description of :transform-smoothing.
---
 doc/lispref/display.texi | 13 ++++++-------
 etc/NEWS                 |  2 +-
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 6dfbabb..9723376 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -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}.
diff --git a/etc/NEWS b/etc/NEWS
index ac09267..b3f4ade 100644
--- 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]