Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
04545643
Commit
04545643
authored
May 24, 2000
by
Gerd Moellmann
Browse files
*** empty log message ***
parent
2b7e8799
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
8 deletions
+34
-8
etc/NEWS
etc/NEWS
+15
-4
lispref/display.texi
lispref/display.texi
+14
-4
src/ChangeLog
src/ChangeLog
+5
-0
No files found.
etc/NEWS
View file @
04545643
...
...
@@ -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 lin
e.
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 imag
e.
`:margin MARGIN'
...
...
lispref/display.texi
View file @
04545643
...
...
@@ -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
...
...
src/ChangeLog
View file @
04545643
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment