diff options
| author | Miles Bader | 2000-08-26 05:58:27 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-08-26 05:58:27 +0000 |
| commit | 787345ff6f8a0eb037d178d2b6a67488345cc445 (patch) | |
| tree | c37de1be7ae88ce5613dd6dfd71e29580f45958b | |
| parent | 1848e3a5ab0d8ee9461593f19793d7c4e982aca7 (diff) | |
| download | emacs-787345ff6f8a0eb037d178d2b6a67488345cc445.tar.gz emacs-787345ff6f8a0eb037d178d2b6a67488345cc445.zip | |
Add description of new :inherit face attribute, and additional legal
values for the :height attribute.
| -rw-r--r-- | etc/NEWS | 12 |
1 files changed, 10 insertions, 2 deletions
| @@ -2587,8 +2587,10 @@ It must be one of the symbols `ultra-condensed', `extra-condensed', | |||
| 2587 | 2587 | ||
| 2588 | `:height' | 2588 | `:height' |
| 2589 | 2589 | ||
| 2590 | VALUE must be an integer specifying the height of the font to use in | 2590 | VALUE must be either an integer specifying the height of the font to use |
| 2591 | 1/10 pt. | 2591 | in 1/10 pt, a floating point number specifying the amount by which to |
| 2592 | scale any underlying face, or a function, which is called with the old | ||
| 2593 | height (from the underlying face), and should return the new height. | ||
| 2592 | 2594 | ||
| 2593 | `:weight' | 2595 | `:weight' |
| 2594 | 2596 | ||
| @@ -2678,6 +2680,12 @@ must be t or nil in that case. A value of `unspecified' is not allowed." | |||
| 2678 | Please see also the documentation of `set-face-attribute' and | 2680 | Please see also the documentation of `set-face-attribute' and |
| 2679 | `defface'. | 2681 | `defface'. |
| 2680 | 2682 | ||
| 2683 | `:inherit' | ||
| 2684 | |||
| 2685 | VALUE is the name of a face from which to inherit attributes, or a list | ||
| 2686 | of face names. Attributes from inherited faces are merged into the face | ||
| 2687 | like an underlying face would be, with higher priority than underlying faces. | ||
| 2688 | |||
| 2681 | *** Face attributes and X resources | 2689 | *** Face attributes and X resources |
| 2682 | 2690 | ||
| 2683 | The following X resource names can be used to set face attributes | 2691 | The following X resource names can be used to set face attributes |