summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-01-06 15:47:21 +0200
committerEli Zaretskii <eliz@gnu.org>2022-01-06 15:47:21 +0200
commitdaedbb2f5bb25e102624dd4694b3d3b64d5e5bca (patch)
treea72e4e133a4d028261c52f845330feb3109f03af /lisp/faces.el
parent66e50562e818ae181f98f139e07bd56d0d6aadb3 (diff)
downloademacs-daedbb2f5bb25e102624dd4694b3d3b64d5e5bca.tar.gz
Improve documentation of font-related face attributes
* lisp/faces.el (set-face-attribute): Mention aliases of face attributes. (Bug#53050)
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index c69603af4dc..df099787698 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -686,8 +686,10 @@ and `?' are allowed.
VALUE specifies the relative proportionate width of the font to use.
It must be one of the symbols `ultra-condensed', `extra-condensed',
-`condensed', `semi-condensed', `normal', `semi-expanded', `expanded',
-`extra-expanded', or `ultra-expanded'.
+`condensed' (a.k.a. `compressed', a.k.a. `narrow'),
+`semi-condensed' (a.k.a. `demi-condensed'), `normal' (a.k.a. `medium',
+a.k.a. `regular'), `semi-expanded' (a.k.a. `demi-expanded'),
+`expanded', `extra-expanded', or `ultra-expanded' (a.k.a. `wide').
`:height'
@@ -703,9 +705,11 @@ for it to be relative to).
`:weight'
VALUE specifies the weight of the font to use. It must be one of
-the symbols `ultra-heavy', `heavy', `ultra-bold', `extra-bold',
-`bold', `semi-bold', `medium', `normal', `book', `semi-light',
-`light', `extra-light', `ultra-light', or `thin'.
+the symbols `ultra-heavy', `heavy' (a.k.a. `black'),
+`ultra-bold' (a.k.a. `extra-bold'), `bold',
+`semi-bold' (a.k.a. `demi-bold'), `medium', `normal' (a.k.a. `regular',
+a.k.a. `book'), `semi-light' (a.k.a. `demi-light'),
+`light', `extra-light' (a.k.a. `ultra-light'), or `thin'.
`:slant'