diff options
| author | Kim F. Storm | 2004-04-26 22:22:23 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-04-26 22:22:23 +0000 |
| commit | 06859ebdf6b624ccf1a0443b1ac469af679da237 (patch) | |
| tree | eaecd8115c80fcb4967d98c179ab2a1de2a8ab2f | |
| parent | 3e8b5f3d712f828e76a397bf03871741cd5418ec (diff) | |
| download | emacs-06859ebdf6b624ccf1a0443b1ac469af679da237.tar.gz emacs-06859ebdf6b624ccf1a0443b1ac469af679da237.zip | |
Add line-height property, change line-spacing property.
| -rw-r--r-- | etc/NEWS | 38 |
1 files changed, 25 insertions, 13 deletions
| @@ -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 |
| 1989 | specified number of evenly sized slices (rows x columns). | 1989 | specified 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 | ||
| 1993 | A newline may now have a line-spacing text property, that may be used | 1993 | A newline may now have line-height and line-spacing text properties that |
| 1994 | to control the height of the corresponding display row. | 1994 | control the height of the corresponding display row. |
| 1995 | 1995 | ||
| 1996 | If the property value is t, the newline does not contribute to the | 1996 | If the line-height property value is 0, the newline does not |
| 1997 | height of the display row; instead the height of the newline glyph is | 1997 | contribute to the height of the display row; instead the height of the |
| 1998 | reduced. This can be used to tile small images or image slices | 1998 | newline glyph is reduced. This can be used to tile small images or |
| 1999 | without adding blank areas between the images. | 1999 | image slices without adding blank areas between the images. |
| 2000 | 2000 | ||
| 2001 | If the property value is an integer, the value is used as additional | 2001 | If the line-height property value is a positive integer, the value |
| 2002 | space to put after the display line; this overrides the default frame | 2002 | specifies the minimum line height in pixels. If necessary, the line |
| 2003 | line-spacing and any buffer local value of the line-spacing variable. | 2003 | height it increased by increasing the line's ascent. |
| 2004 | 2004 | ||
| 2005 | If the property value is a float, the value is multiplied by the | 2005 | If the line-height property value is a float, the minimum line height |
| 2006 | current height of the display row to determine the additional space | 2006 | is calculated by multiplying the current height of the display row by |
| 2007 | to put after the display line. | 2007 | the given value. |
| 2008 | |||
| 2009 | If the line-height property value is t, the minimum line height is | ||
| 2010 | the height of the default frame font. | ||
| 2011 | |||
| 2012 | If the line-spacing property value is an integer, the value is used as | ||
| 2013 | additional space to put after the display line; this overrides the | ||
| 2014 | default frame line-spacing and any buffer local value of the | ||
| 2015 | line-spacing variable. | ||
| 2016 | |||
| 2017 | If the line-spacing property value is a float, the value is multiplied | ||
| 2018 | by the current height of the display row to determine the additional | ||
| 2019 | space to put after the display line. | ||
| 2008 | 2020 | ||
| 2009 | ** Enhancements to stretch display properties | 2021 | ** Enhancements to stretch display properties |
| 2010 | 2022 | ||