GNU bug report logs - #893
incorrect font chosen

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> ics.uci.edu>

Date: Fri, 5 Sep 2008 06:35:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 893 in the body.
You can then email your comments to 893 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#893; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: incorrect font chosen
Date: Thu, 04 Sep 2008 23:28:56 -0700
Emacs still uses the wrong font in some cases.

First do:

xrdb /dev/null

Then:

emacs -Q -xrm 'emacs.Font: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'

uses the lucidatypewriter font for the default face, but doing:

emacs -Q -xrm 'Emacs.Font: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'

uses:
    x:-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1 (#x20)

This used to work fine before the unicode-2 merge.

This message might help pinpoint the problem: http://permalink.gmane.org/gmane.emacs.devel/101403






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#893; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 893 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 893 <at> debbugs.gnu.org
Subject: Re: incorrect font chosen
Date: Sun, 28 Sep 2008 16:26:47 -0400
>  xrdb /dev/null
>
>  emacs -Q -xrm 'emacs.Font:
>  -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
>
> uses the lucidatypewriter font for the default face, but doing:
>
>  emacs -Q -xrm 'Emacs.Font:
>   -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
>
> uses:
>
>   x:-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1 (#x20)

I can't reproduce this problem either.  Do you still see it?  If so, any
luck debugging?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#893; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 893 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 893 <at> debbugs.gnu.org
Subject: Re: incorrect font chosen
Date: Sun, 28 Sep 2008 17:29:37 -0700 (PDT)
Chong Yidong <cyd <at> stupidchicken.com> writes:

  > >  xrdb /dev/null
  > >
  > >  emacs -Q -xrm 'emacs.Font:
  > >  -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
  > >
  > > uses the lucidatypewriter font for the default face, but doing:
  > >
  > >  emacs -Q -xrm 'Emacs.Font:
  > >   -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
  > >
  > > uses:
  > >
  > >   x:-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1 (#x20)
  > 
  > I can't reproduce this problem either.  Do you still see it?  

It's still present with the latest CVS and an up to date Fedora 9 system.

  > If so, any luck debugging?

Sorry, I don't have the time at the moment to do this.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#893; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 893 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 893 <at> debbugs.gnu.org
Subject: Re: incorrect font chosen
Date: Sun, 19 Oct 2008 23:51:25 -0400
Dan Nicolaescu <dann <at> ics.uci.edu> writes:

> It seems that on Fedora 9 the default emacs package installs
> /usr/share/X11/app-defaults/Emacs with this content:
>
> Emacs*font: -adobe-courier-medium-r-*-*-12-120-75-75-*-*-*-*
>
> If I move it out of the way, everything works fine.  But that is not
> the only problem.
>
> If you remember from my initial report on this, I have an older
> version of emacs from CVS from February 27th (I think before the
> unicode-2 merge), and that one works fine even if
> /usr/share/X11/app-defaults/Emacs is present.

I played around with this a little.  If I put

Emacs*font: -adobe-courier-medium-r-*-*-12-120-75-75-*-*-*-*

in my .Xresources file, then

emacs -Q -xrm 'Emacs.Font: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
>>> -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1

emacs -Q -xrm 'emacs.Font: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
>>> -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1

This behavior is the same for both CVS Emacs and Emacs 22.

I think this behavior makes sense, because the "emacs" X attribute
setting should override the "Emacs" class setting, and the "font"
attribute setting overrides the "Font" class setting.  Maybe your Feb 27
build contained a bug that was subsequently fixed.




bug closed, send any further explanations to Dan Nicolaescu <dann <at> ics.uci.edu> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Tue, 21 Oct 2008 17:00:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 19 Nov 2008 15:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.