diff options
| author | Eli Zaretskii | 2002-02-02 18:07:56 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-02-02 18:07:56 +0000 |
| commit | c1e7532dbde377c52f47a3657abe8da0b4ab1507 (patch) | |
| tree | 061e7c60e9a8bf76a4fd3668953f34731e29e57c /src | |
| parent | f04f5c7689cdbb0cb6a89bb75dcb064d64512cf0 (diff) | |
| download | emacs-c1e7532dbde377c52f47a3657abe8da0b4ab1507.tar.gz emacs-c1e7532dbde377c52f47a3657abe8da0b4ab1507.zip | |
(realize_default_face): Don't set the weight and slant
of the default face to Qnormal, unless these attributes are
unspecified.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 704a31d9b35..6180b2d0020 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6172,8 +6172,10 @@ realize_default_face (f) | |||
| 6172 | LFACE_FAMILY (lface) = build_string ("default"); | 6172 | LFACE_FAMILY (lface) = build_string ("default"); |
| 6173 | LFACE_SWIDTH (lface) = Qnormal; | 6173 | LFACE_SWIDTH (lface) = Qnormal; |
| 6174 | LFACE_HEIGHT (lface) = make_number (1); | 6174 | LFACE_HEIGHT (lface) = make_number (1); |
| 6175 | LFACE_WEIGHT (lface) = Qnormal; | 6175 | if (UNSPECIFIEDP (LFACE_WEIGHT (lface))) |
| 6176 | LFACE_SLANT (lface) = Qnormal; | 6176 | LFACE_WEIGHT (lface) = Qnormal; |
| 6177 | if (UNSPECIFIEDP (LFACE_SLANT (lface))) | ||
| 6178 | LFACE_SLANT (lface) = Qnormal; | ||
| 6177 | LFACE_AVGWIDTH (lface) = Qunspecified; | 6179 | LFACE_AVGWIDTH (lface) = Qunspecified; |
| 6178 | } | 6180 | } |
| 6179 | 6181 | ||