Commit 04545643 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

*** empty log message ***

parent 2b7e8799
......@@ -1801,6 +1801,17 @@ of live and free strings.
*** There is a new variable `strings-consed' holding the number of
strings that have been consed so far.
* Lisp-level Display features added after release 2.6 of the Emacs
Lisp Manual
** Image specifications may contain the property `:ascent center'.
When this property is specified, the image is vertically centered
around a centerline which would be the vertical center of text drawn
at the position of the image, in the manner specified by the text
properties and overlays that apply to the image.
* New Lisp-level Display features in Emacs 21.1
......@@ -2334,10 +2345,10 @@ to use for its ascent.
If not specified, ASCENT defaults to the value 50 which means that the
image will be centered with the base line of the row it appears in.
If ASCENT is `center' the image is vertically centered with text drawn
in the same face as the image. The point the image is aligned with is
the middle of the height of the face's font. That point is usually
different from the font's base line.
If ASCENT is `center' the image is vertically centered around a
centerline which is the vertical center of text drawn at the position
of the image, in the manner specified by the text properties and
overlays that apply to the image.
`:margin MARGIN'
......
......@@ -2387,10 +2387,20 @@ types:
@table @code
@item :ascent @var{ascent}
The @code{:ascent} property specifies the percentage of the image's
height to use for its ascent---that is, the part above the baseline. The
value, @var{ascent}, must be a number in the range 0 to 100. If this
property is omitted, it defaults to 50.
The @code{:ascent} property specifies the amount of the image's
height to use for its ascent---that is, the part above the baseline.
The value, @var{ascent}, must be a number in the range 0 to 100, or
the symbol @code{center}.
If @var{ascent} is a number, that percentage of the image's height is
used for its ascent.
If @var{ascent} is @code{center}, the image is vertically centered
around a centerline which would be the vertical centerline of text drawn
at the position of the image, in the manner specified by the text
properties and overlays that apply to the image.
If this property is omitted, it defaults to 50.
@item :margin @var{margin}
The @code{:margin} property specifies how many pixels to add as an extra
......
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment