# HG changeset patch # User Eli Zaretskii # Date 1012673276 0 # Node ID e1291f1c4a5b95692f3bf59f9140325aa25a9d82 # Parent ddfa98341413e05cb7923cb4bd250998dfaad9c0 (realize_default_face): Don't set the weight and slant of the default face to Qnormal, unless these attributes are unspecified. diff -r ddfa98341413 -r e1291f1c4a5b src/xfaces.c --- a/src/xfaces.c Sat Feb 02 16:54:59 2002 +0000 +++ b/src/xfaces.c Sat Feb 02 18:07:56 2002 +0000 @@ -6172,8 +6172,10 @@ LFACE_FAMILY (lface) = build_string ("default"); LFACE_SWIDTH (lface) = Qnormal; LFACE_HEIGHT (lface) = make_number (1); - LFACE_WEIGHT (lface) = Qnormal; - LFACE_SLANT (lface) = Qnormal; + if (UNSPECIFIEDP (LFACE_WEIGHT (lface))) + LFACE_WEIGHT (lface) = Qnormal; + if (UNSPECIFIEDP (LFACE_SLANT (lface))) + LFACE_SLANT (lface) = Qnormal; LFACE_AVGWIDTH (lface) = Qunspecified; }