aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-04-26 22:22:23 +0000
committerKim F. Storm2004-04-26 22:22:23 +0000
commit06859ebdf6b624ccf1a0443b1ac469af679da237 (patch)
treeeaecd8115c80fcb4967d98c179ab2a1de2a8ab2f
parent3e8b5f3d712f828e76a397bf03871741cd5418ec (diff)
downloademacs-06859ebdf6b624ccf1a0443b1ac469af679da237.tar.gz
emacs-06859ebdf6b624ccf1a0443b1ac469af679da237.zip
Add line-height property, change line-spacing property.
-rw-r--r--etc/NEWS38
1 files changed, 25 insertions, 13 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f6d7e136989..f04ff88f2bd 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1988,23 +1988,35 @@ specify image slice (X Y WIDTH HEIGHT).
1988*** New function insert-sliced-image inserts a given image as a 1988*** New function insert-sliced-image inserts a given image as a
1989specified number of evenly sized slices (rows x columns). 1989specified number of evenly sized slices (rows x columns).
1990 1990
1991** New line-spacing property for newline characters 1991** New line-height and line-spacing properties for newline characters
1992 1992
1993A newline may now have a line-spacing text property, that may be used 1993A newline may now have line-height and line-spacing text properties that
1994to control the height of the corresponding display row. 1994control the height of the corresponding display row.
1995 1995
1996If the property value is t, the newline does not contribute to the 1996If the line-height property value is 0, the newline does not
1997height of the display row; instead the height of the newline glyph is 1997contribute to the height of the display row; instead the height of the
1998reduced. This can be used to tile small images or image slices 1998newline glyph is reduced. This can be used to tile small images or
1999without adding blank areas between the images. 1999image slices without adding blank areas between the images.
2000 2000
2001If the property value is an integer, the value is used as additional 2001If the line-height property value is a positive integer, the value
2002space to put after the display line; this overrides the default frame 2002specifies the minimum line height in pixels. If necessary, the line
2003line-spacing and any buffer local value of the line-spacing variable. 2003height it increased by increasing the line's ascent.
2004 2004
2005If the property value is a float, the value is multiplied by the 2005If the line-height property value is a float, the minimum line height
2006current height of the display row to determine the additional space 2006is calculated by multiplying the current height of the display row by
2007to put after the display line. 2007the given value.
2008
2009If the line-height property value is t, the minimum line height is
2010the height of the default frame font.
2011
2012If the line-spacing property value is an integer, the value is used as
2013additional space to put after the display line; this overrides the
2014default frame line-spacing and any buffer local value of the
2015line-spacing variable.
2016
2017If the line-spacing property value is a float, the value is multiplied
2018by the current height of the display row to determine the additional
2019space to put after the display line.
2008 2020
2009** Enhancements to stretch display properties 2021** Enhancements to stretch display properties
2010 2022