all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1127: Can't set default face to get the font I want
@ 2008-10-12  4:30 Chong Yidong
  2008-10-14  8:18 ` Kenichi Handa
  0 siblings, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2008-10-12  4:30 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: 1127

Hi Handa-san,

> % xrdb -remove
> % src/emacs -Q --eval '(customize-face (quote default))'
>
> I seem to be unable to select my beloved
> "-misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*".  If I set
> family=fixed, foundry=misc, width=semicondensed, height=100,
> I get -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1;
> It appears that the "semicondensed" part is ignored.

This appears to be a problem in the font_score algorithm in font.c.  The
font passed in as the argument has the `semicondensed' width property,
but the font found has `normal'.

Could you take a look?






^ permalink raw reply	[flat|nested] 7+ messages in thread
* bug#1127: Can't set default face to get the font I want
@ 2008-10-14  4:40 Chong Yidong
  0 siblings, 0 replies; 7+ messages in thread
From: Chong Yidong @ 2008-10-14  4:40 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 1127, Kenichi Handa

> The FONT_AVGWIDTH_INDEX entry also needs to be cleared out at this
> time, otherwise the font backend won't find the semicondensed font.
> I've checked in a fix.

Hmm... actually, this doesn't fix the bug for the recipe originally
given.  It does, however, cause

  (set-face-attribute 'default nil :family "fixed"
    :foundry "misc" :weight 'medium :width 'semi-condensed)

to behave properly.

So there's probably still a bug lurking somewhere.






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-14 19:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87bpxnolqy.fsf@cyd.mit.edu>
2008-10-09  5:21 ` bug#1127: Can't set default face to get the font I want Stefan Monnier
2008-10-14  4:20   ` bug#1127: marked as done (Can't set default face to get the font I want) Emacs bug Tracking System
2008-10-14 19:10   ` Emacs bug Tracking System
2008-10-12  4:30 bug#1127: Can't set default face to get the font I want Chong Yidong
2008-10-14  8:18 ` Kenichi Handa
2008-10-14 14:45   ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2008-10-14  4:40 Chong Yidong

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.