2989 |
|
|
2990 |
@item line-spacing |
@item line-spacing |
2991 |
@kindex line-spacing @r{(text property)} |
@kindex line-spacing @r{(text property)} |
2992 |
A newline can have a @code{line-spacing} text or overlay property |
A newline can have a @code{line-spacing} text or overlay property that |
2993 |
that controls the height of the corresponding display line. |
controls the height of the display line ending with that newline. The |
2994 |
@c ??? Which display line is "corresponding"? |
property value overrides the default frame line spacing and the buffer |
2995 |
The @code{line-spacing} property overrides the default frame line |
local @code{line-spacing} variable. We will call the property value |
2996 |
spacing and the buffer local @code{line-spacing} variable. We will |
@var{line-spacing}. |
|
call the property value @var{line-spacing}. |
|
2997 |
|
|
2998 |
If @var{line-spacing} is a positive integer, the value specifies |
If @var{line-spacing} is a positive integer, the value specifies |
2999 |
additional vertical space, below the display line, in pixels. |
additional vertical space, below the display line, in pixels. |
3011 |
@item line-height |
@item line-height |
3012 |
@kindex line-height @r{(text property)} |
@kindex line-height @r{(text property)} |
3013 |
A newline can have a @code{line-height} text or overlay property that |
A newline can have a @code{line-height} text or overlay property that |
3014 |
controls the total height of the corresponding display line. |
controls the total height of the display line ending in that newline. |
|
@c ??? Which display line is "corresponding"? |
|
3015 |
We will call the property value @var{line-height}. |
We will call the property value @var{line-height}. |
3016 |
|
|
3017 |
If @var{line-height} is 0, the newline does not contribute to the |
If @var{line-height} is 0, the height of the line is determined solely |
3018 |
height of the display row; instead the height of the newline glyph is |
from its contents; nothing is added. Any @code{line-spacing} property |
3019 |
reduced. |
on this newline is ignored. This case is useful for tiling small |
3020 |
@c ??? That is not clear. Reduced how much? |
images or image slices without adding blank areas between the images. |
|
In that case, any @code{line-spacing} property on |
|
|
this newline is ignored. This can be used to tile small images or |
|
|
image slices without adding blank areas between the images. |
|
|
@c ??? Precisely which of these features does ``this'' mean? |
|
3021 |
|
|
3022 |
If @var{line-height} is a positive integer, the value specifies the |
If @var{line-height} is a positive integer, the value specifies the |
3023 |
minimum line height in pixels. The line's ascent height is |
minimum line height in pixels. The line's ascent height is |