diff options
author | Miles Bader <miles@gnu.org> | 2000-10-03 01:55:27 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2000-10-03 01:55:27 +0000 |
commit | 96f71a4964c3963a36be0fef120590b985ec7267 (patch) | |
tree | 95854fe9c2edf3ffb691be47d6214915e5f410dd /lispref | |
parent | 3f679f55a2d12837a39ad52613e3b4760f761969 (diff) | |
download | emacs-96f71a4964c3963a36be0fef120590b985ec7267.tar.gz |
(Face Attributes): Add description of new :inherit face attribute, and
additional legal values for the :height attribute.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/display.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index da774672536..45e25d72514 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -1405,7 +1405,10 @@ set width. This should be one of the symbols @code{ultra-condensed}, @code{extra-expanded}, or @code{ultra-expanded}. @item :height -Font height, an integer in units of 1/10 point. +Either the font height, an integer in units of 1/10 point, a floating +point number specifying the amount by which to scale the height of any +underlying face, or a function, which is called with the old height +(from the underlying face), and should return the new height. @item :weight Font weight---a symbol from this series (from most dense to most faint): @@ -1467,6 +1470,11 @@ The value is used like that of @code{:underline}. Whether or not characters should be strike-through, and in what color. The value is used like that of @code{:underline}. +@item :inherit +The name of a face from which to inherit attributes, or a list of face +names. Attributes from inherited faces are merged into the face like an +underlying face would be, with higher priority than underlying faces. + @item :box Whether or not a box should be drawn around characters, its color, the width of the box lines, and 3D appearance. |