From 787345ff6f8a0eb037d178d2b6a67488345cc445 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 26 Aug 2000 05:58:27 +0000 Subject: [PATCH] Add description of new :inherit face attribute, and additional legal values for the :height attribute. --- etc/NEWS | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 51564b28126..60d37eed722 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2587,8 +2587,10 @@ It must be one of the symbols `ultra-condensed', `extra-condensed', `:height' -VALUE must be an integer specifying the height of the font to use in -1/10 pt. +VALUE must be either an integer specifying the height of the font to use +in 1/10 pt, a floating point number specifying the amount by which to +scale any underlying face, or a function, which is called with the old +height (from the underlying face), and should return the new height. `:weight' @@ -2678,6 +2680,12 @@ must be t or nil in that case. A value of `unspecified' is not allowed." Please see also the documentation of `set-face-attribute' and `defface'. +`:inherit' + +VALUE is 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. + *** Face attributes and X resources The following X resource names can be used to set face attributes -- 2.39.2