From 96f71a4964c3963a36be0fef120590b985ec7267 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 3 Oct 2000 01:55:27 +0000 Subject: [PATCH] (Face Attributes): Add description of new :inherit face attribute, and additional legal values for the :height attribute. --- lispref/display.texi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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. -- 2.39.2