diff options
| author | Richard M. Stallman | 2004-09-28 15:25:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-09-28 15:25:12 +0000 |
| commit | 4676d6f34d22d9f5575574f76b59a6ba32cd4e1d (patch) | |
| tree | 2b703a45f2064e5592f3efd95a0ffb6c6b3430ba | |
| parent | 4d4d2d07a46f65709fe1727d477245b4b3649974 (diff) | |
| download | emacs-4676d6f34d22d9f5575574f76b59a6ba32cd4e1d.tar.gz emacs-4676d6f34d22d9f5575574f76b59a6ba32cd4e1d.zip | |
(Special Properties): Clarify line-spacing and line-height.
| -rw-r--r-- | lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | lispref/text.texi | 26 |
2 files changed, 16 insertions, 16 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 5fc2af015a4..8c25fe6c531 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-09-28 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * text.texi (Special Properties): Clarify line-spacing and line-height. | ||
| 4 | |||
| 5 | * searching.texi (Regexp Search): Add looking-back. | ||
| 6 | |||
| 1 | 2004-09-25 Luc Teirlinck <teirllm@auburn.edu> | 7 | 2004-09-25 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 8 | ||
| 3 | * display.texi: Correct typos. | 9 | * display.texi: Correct typos. |
diff --git a/lispref/text.texi b/lispref/text.texi index 82763db496c..caa3f21b7b1 100644 --- a/lispref/text.texi +++ b/lispref/text.texi | |||
| @@ -2989,12 +2989,11 @@ for possible pointer shapes. | |||
| 2989 | 2989 | ||
| 2990 | @item line-spacing | 2990 | @item line-spacing |
| 2991 | @kindex line-spacing @r{(text property)} | 2991 | @kindex line-spacing @r{(text property)} |
| 2992 | A newline can have a @code{line-spacing} text or overlay property | 2992 | A newline can have a @code{line-spacing} text or overlay property that |
| 2993 | that controls the height of the corresponding display line. | 2993 | controls the height of the display line ending with that newline. The |
| 2994 | @c ??? Which display line is "corresponding"? | 2994 | property value overrides the default frame line spacing and the buffer |
| 2995 | The @code{line-spacing} property overrides the default frame line | 2995 | local @code{line-spacing} variable. We will call the property value |
| 2996 | spacing and the buffer local @code{line-spacing} variable. We will | 2996 | @var{line-spacing}. |
| 2997 | call the property value @var{line-spacing}. | ||
| 2998 | 2997 | ||
| 2999 | If @var{line-spacing} is a positive integer, the value specifies | 2998 | If @var{line-spacing} is a positive integer, the value specifies |
| 3000 | additional vertical space, below the display line, in pixels. | 2999 | additional vertical space, below the display line, in pixels. |
| @@ -3012,18 +3011,13 @@ is equivalent to using the @code{line-height} property. | |||
| 3012 | @item line-height | 3011 | @item line-height |
| 3013 | @kindex line-height @r{(text property)} | 3012 | @kindex line-height @r{(text property)} |
| 3014 | A newline can have a @code{line-height} text or overlay property that | 3013 | A newline can have a @code{line-height} text or overlay property that |
| 3015 | controls the total height of the corresponding display line. | 3014 | controls the total height of the display line ending in that newline. |
| 3016 | @c ??? Which display line is "corresponding"? | ||
| 3017 | We will call the property value @var{line-height}. | 3015 | We will call the property value @var{line-height}. |
| 3018 | 3016 | ||
| 3019 | If @var{line-height} is 0, the newline does not contribute to the | 3017 | If @var{line-height} is 0, the height of the line is determined solely |
| 3020 | height of the display row; instead the height of the newline glyph is | 3018 | from its contents; nothing is added. Any @code{line-spacing} property |
| 3021 | reduced. | 3019 | on this newline is ignored. This case is useful for tiling small |
| 3022 | @c ??? That is not clear. Reduced how much? | 3020 | images or image slices without adding blank areas between the images. |
| 3023 | In that case, any @code{line-spacing} property on | ||
| 3024 | this newline is ignored. This can be used to tile small images or | ||
| 3025 | image slices without adding blank areas between the images. | ||
| 3026 | @c ??? Precisely which of these features does ``this'' mean? | ||
| 3027 | 3021 | ||
| 3028 | If @var{line-height} is a positive integer, the value specifies the | 3022 | If @var{line-height} is a positive integer, the value specifies the |
| 3029 | minimum line height in pixels. The line's ascent height is | 3023 | minimum line height in pixels. The line's ascent height is |