unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#893: incorrect font chosen
@ 2008-09-05  6:28 Dan Nicolaescu
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2008-09-05  6:28 UTC (permalink / raw)
  To: bug-gnu-emacs


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








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

* bug#893: incorrect font chosen
@ 2008-09-28 20:26 Chong Yidong
  2008-09-29  0:29 ` Dan Nicolaescu
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2008-09-28 20:26 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 893

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






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

* bug#893: incorrect font chosen
  2008-09-28 20:26 bug#893: incorrect font chosen Chong Yidong
@ 2008-09-29  0:29 ` Dan Nicolaescu
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2008-09-29  0:29 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 893

Chong Yidong <cyd@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.







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

* bug#893: incorrect font chosen
       [not found] ` <200810170102.m9H12d9v013109@mothra.ics.uci.edu>
@ 2008-10-20  3:51   ` Chong Yidong
  0 siblings, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2008-10-20  3:51 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 893

Dan Nicolaescu <dann@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.






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

end of thread, other threads:[~2008-10-20  3:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 20:26 bug#893: incorrect font chosen Chong Yidong
2008-09-29  0:29 ` Dan Nicolaescu
     [not found] <873aizvvqg.fsf@cyd.mit.edu>
     [not found] ` <200810170102.m9H12d9v013109@mothra.ics.uci.edu>
2008-10-20  3:51   ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2008-09-05  6:28 Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).