all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 1126@emacsbugs.donarmstrong.com
Subject: bug#1126: Xresources override face settings
Date: Thu, 09 Oct 2008 23:00:54 -0400	[thread overview]
Message-ID: <jwvvdw1nqcx.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87abddjpor.fsf@cyd.mit.edu> (Chong Yidong's message of "Thu, 09 Oct 2008 19:48:04 -0400")

>> % 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






  reply	other threads:[~2008-10-10  3:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 23:48 bug#1126: Xresources override face settings Chong Yidong
2008-10-10  3:00 ` Stefan Monnier [this message]
     [not found] <87ocybmegr.fsf@cyd.mit.edu>
     [not found] ` <jwvwsczm4vq.fsf-monnier+emacsbugreports@gnu.org>
2009-01-13 20:04   ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2008-10-09  5:16 Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvvdw1nqcx.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=1126@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.