[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1126: Xresources override face settings
From: |
Stefan Monnier |
Subject: |
bug#1126: Xresources override face settings |
Date: |
Thu, 09 Oct 2008 23:00:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> % xrdb -remove
>> % echo 'Emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*' |
>> xrdb -load
>> % src/emacs -Q --eval '(customize-face (quote variable-pitch))'
>>
>> I get a buffer that shows that `variable-pitch' should use a "Sans
>> Serif" family, yet C-u C-x = on the "sample" text shows that it's
>> actually using
>> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1.
> The `variable-pitch' face is defined with `Sans Serif' as the family in
> faces.el. The font backend regards `Sans Serif' as a match for `fixed',
> in accordance with face-font-family-alternatives. I'm not sure what the
> problem is; could you elaborate?
I do have "Sans Serif", it is normally mapped to Vera Bitstream, by
fontconfig, not to "fixed". And if I change "Sans Serif" to something
else, it makes no difference, no matter what I type in that field.
I just figured that I can "fix" things by setting variable-pitch's
`width' to `medium' rather than to unset (which falls back on the
default face's `semicondensed').
Stefan