aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-09-28 15:25:12 +0000
committerRichard M. Stallman2004-09-28 15:25:12 +0000
commit4676d6f34d22d9f5575574f76b59a6ba32cd4e1d (patch)
tree2b703a45f2064e5592f3efd95a0ffb6c6b3430ba
parent4d4d2d07a46f65709fe1727d477245b4b3649974 (diff)
downloademacs-4676d6f34d22d9f5575574f76b59a6ba32cd4e1d.tar.gz
emacs-4676d6f34d22d9f5575574f76b59a6ba32cd4e1d.zip
(Special Properties): Clarify line-spacing and line-height.
-rw-r--r--lispref/ChangeLog6
-rw-r--r--lispref/text.texi26
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 @@
12004-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
12004-09-25 Luc Teirlinck <teirllm@auburn.edu> 72004-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)}
2992A newline can have a @code{line-spacing} text or overlay property 2992A newline can have a @code{line-spacing} text or overlay property that
2993that controls the height of the corresponding display line. 2993controls the height of the display line ending with that newline. The
2994@c ??? Which display line is "corresponding"? 2994property value overrides the default frame line spacing and the buffer
2995The @code{line-spacing} property overrides the default frame line 2995local @code{line-spacing} variable. We will call the property value
2996spacing and the buffer local @code{line-spacing} variable. We will 2996@var{line-spacing}.
2997call the property value @var{line-spacing}.
2998 2997
2999If @var{line-spacing} is a positive integer, the value specifies 2998If @var{line-spacing} is a positive integer, the value specifies
3000additional vertical space, below the display line, in pixels. 2999additional 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)}
3014A newline can have a @code{line-height} text or overlay property that 3013A newline can have a @code{line-height} text or overlay property that
3015controls the total height of the corresponding display line. 3014controls the total height of the display line ending in that newline.
3016@c ??? Which display line is "corresponding"?
3017We will call the property value @var{line-height}. 3015We will call the property value @var{line-height}.
3018 3016
3019If @var{line-height} is 0, the newline does not contribute to the 3017If @var{line-height} is 0, the height of the line is determined solely
3020height of the display row; instead the height of the newline glyph is 3018from its contents; nothing is added. Any @code{line-spacing} property
3021reduced. 3019on this newline is ignored. This case is useful for tiling small
3022@c ??? That is not clear. Reduced how much? 3020images or image slices without adding blank areas between the images.
3023In that case, any @code{line-spacing} property on
3024this newline is ignored. This can be used to tile small images or
3025image slices without adding blank areas between the images.
3026@c ??? Precisely which of these features does ``this'' mean?
3027 3021
3028If @var{line-height} is a positive integer, the value specifies the 3022If @var{line-height} is a positive integer, the value specifies the
3029minimum line height in pixels. The line's ascent height is 3023minimum line height in pixels. The line's ascent height is