aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2007-06-01 09:43:24 +0000
committerJason Rumney2007-06-01 09:43:24 +0000
commitb0f7845d17d3951ccbd1c90b9f721052a9462f5d (patch)
tree0eda549d16d7b83bac030c2b8b9f2a5cd82c692d
parentc310458f64f1354a28b778f02d0ad4e28ecdfddf (diff)
downloademacs-b0f7845d17d3951ccbd1c90b9f721052a9462f5d.tar.gz
emacs-b0f7845d17d3951ccbd1c90b9f721052a9462f5d.zip
(font-weight-table): Use defaults on w32 that match
LOGFONT.lfWeight.
-rw-r--r--lisp/faces.el35
1 files changed, 24 insertions, 11 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 883206a60f2..01cfae1e20c 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -104,17 +104,30 @@ REGISTRY, ALTERNATIVE1, ALTERNATIVE2, and etc."
104 104
105 105
106(defcustom font-weight-table 106(defcustom font-weight-table
107 '((thin . 0) 107 (if (eq system-type 'windows-nt)
108 (ultralight . 40) (ultra-light . 40) (extra-light . 40) 108 '((thin . 100)
109 (light . 50) 109 (ultralight . 200) (ultra-light . 200) (extra-light . 200)
110 (semilight . 65) (semi-light . 65) 110 (light . 300)
111 (book . 75) 111 (semilight . 330) (semi-light . 330)
112 (medium . 100) (regular . 100) (normal . 100) 112 (book . 350)
113 (semibold . 180) (semi-bold . 180) (demibold . 180) (demi . 180) 113 (normal . 400) (regular . 400)
114 (bold . 200) 114 (medium . 500)
115 (extrabold . 205) (extra-bold . 205) 115 (semibold . 600) (semi-bold . 600) (demibold . 600) (demi . 600)
116 (ultrabold . 205) (ultra-bold . 205) 116 (bold . 700)
117 (black . 210) (heavy . 210)) 117 (extrabold . 800) (extra-bold . 800)
118 (ultrabold . 800) (ultra-bold . 800)
119 (black . 900) (heavy . 900))
120 '((thin . 0)
121 (ultralight . 40) (ultra-light . 40) (extra-light . 40)
122 (light . 50)
123 (semilight . 65) (semi-light . 65)
124 (book . 75)
125 (medium . 100) (regular . 100) (normal . 100)
126 (semibold . 180) (semi-bold . 180) (demibold . 180) (demi . 180)
127 (bold . 200)
128 (extrabold . 205) (extra-bold . 205)
129 (ultrabold . 205) (ultra-bold . 205)
130 (black . 210) (heavy . 210)))
118 "*Alist of font weight symbols vs the corresponding numeric values." 131 "*Alist of font weight symbols vs the corresponding numeric values."
119 :tag "Font weight table" 132 :tag "Font weight table"
120 :version "23.1" 133 :version "23.1"