From 0445720b75edc8ff06074750512ade3d0e667575 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 11 Mar 2021 08:37:29 +0200 Subject: [PATCH] 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 6dfbabb2b63..9723376de91 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 ac092675b4d..b3f4ade3373 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 -- 2.39.2