aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-05-24 13:10:23 +0000
committerGerd Moellmann2000-05-24 13:10:23 +0000
commit04545643a87afd0f2153c78d54405ed9e9a7838e (patch)
tree82012856ce3ccaa07ad253247e3a72207b5c7347
parent2b7e8799bb9d0ff310d203a78e31acb1af12f1a3 (diff)
downloademacs-04545643a87afd0f2153c78d54405ed9e9a7838e.tar.gz
emacs-04545643a87afd0f2153c78d54405ed9e9a7838e.zip
*** empty log message ***
-rw-r--r--etc/NEWS19
-rw-r--r--lispref/display.texi18
-rw-r--r--src/ChangeLog5
3 files changed, 34 insertions, 8 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 59ee3abf580..7551aa41188 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1802,6 +1802,17 @@ of live and free strings.
1802strings that have been consed so far. 1802strings that have been consed so far.
1803 1803
1804 1804
1805* Lisp-level Display features added after release 2.6 of the Emacs
1806Lisp Manual
1807
1808** Image specifications may contain the property `:ascent center'.
1809
1810When this property is specified, the image is vertically centered
1811around a centerline which would be the vertical center of text drawn
1812at the position of the image, in the manner specified by the text
1813properties and overlays that apply to the image.
1814
1815
1805* New Lisp-level Display features in Emacs 21.1 1816* New Lisp-level Display features in Emacs 21.1
1806 1817
1807Note that +++ before an item means the Lisp manual has been updated. 1818Note that +++ before an item means the Lisp manual has been updated.
@@ -2334,10 +2345,10 @@ to use for its ascent.
2334If not specified, ASCENT defaults to the value 50 which means that the 2345If not specified, ASCENT defaults to the value 50 which means that the
2335image will be centered with the base line of the row it appears in. 2346image will be centered with the base line of the row it appears in.
2336 2347
2337If ASCENT is `center' the image is vertically centered with text drawn 2348If ASCENT is `center' the image is vertically centered around a
2338in the same face as the image. The point the image is aligned with is 2349centerline which is the vertical center of text drawn at the position
2339the middle of the height of the face's font. That point is usually 2350of the image, in the manner specified by the text properties and
2340different from the font's base line. 2351overlays that apply to the image.
2341 2352
2342`:margin MARGIN' 2353`:margin MARGIN'
2343 2354
diff --git a/lispref/display.texi b/lispref/display.texi
index 5992c36171d..5dd1dcec1fe 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -2387,10 +2387,20 @@ types:
2387 2387
2388@table @code 2388@table @code
2389@item :ascent @var{ascent} 2389@item :ascent @var{ascent}
2390The @code{:ascent} property specifies the percentage of the image's 2390The @code{:ascent} property specifies the amount of the image's
2391height to use for its ascent---that is, the part above the baseline. The 2391height to use for its ascent---that is, the part above the baseline.
2392value, @var{ascent}, must be a number in the range 0 to 100. If this 2392The value, @var{ascent}, must be a number in the range 0 to 100, or
2393property is omitted, it defaults to 50. 2393the symbol @code{center}.
2394
2395If @var{ascent} is a number, that percentage of the image's height is
2396used for its ascent.
2397
2398If @var{ascent} is @code{center}, the image is vertically centered
2399around a centerline which would be the vertical centerline of text drawn
2400at the position of the image, in the manner specified by the text
2401properties and overlays that apply to the image.
2402
2403If this property is omitted, it defaults to 50.
2394 2404
2395@item :margin @var{margin} 2405@item :margin @var{margin}
2396The @code{:margin} property specifies how many pixels to add as an extra 2406The @code{:margin} property specifies how many pixels to add as an extra
diff --git a/src/ChangeLog b/src/ChangeLog
index cf5514554d4..16737c6f38f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-05-24 Gerd Moellmann <gerd@gnu.org>
2
3 * callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and
4 BSD_PGRPS are not defined.
5
12000-05-24 Kenichi Handa <handa@etl.go.jp> 62000-05-24 Kenichi Handa <handa@etl.go.jp>
2 7
3 * charset.c (update_charset_table): Accept nil in LONG_NAME and 8 * charset.c (update_charset_table): Accept nil in LONG_NAME and