From: Kim F. Storm Date: Sun, 25 Apr 2004 00:42:22 +0000 (+0000) Subject: New line-spacing property on newlines. X-Git-Tag: ttn-vms-21-2-B4~6609 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e5847e56000711d975acdbfe58bcbf8552f9446f;p=emacs.git New line-spacing property on newlines. --- diff --git a/etc/NEWS b/etc/NEWS index e28ba30d3f4..f6d7e136989 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1988,9 +1988,23 @@ specify image slice (X Y WIDTH HEIGHT). *** New function insert-sliced-image inserts a given image as a specified number of evenly sized slices (rows x columns). -*** Trailing newlines no longer contribute to the height of a display -row; instead the height of the newline glyph is reduced. This allows -sliced images to use a height less than the default line height. +** New line-spacing property for newline characters + +A newline may now have a line-spacing text property, that may be used +to control the height of the corresponding display row. + +If the property value is t, the newline does not contribute to the +height of the display row; instead the height of the newline glyph is +reduced. This can be used to tile small images or image slices +without adding blank areas between the images. + +If the property value is an integer, the value is used as additional +space to put after the display line; this overrides the default frame +line-spacing and any buffer local value of the line-spacing variable. + +If the property value is a float, the value is multiplied by the +current height of the display row to determine the additional space +to put after the display line. ** Enhancements to stretch display properties