emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font problem still occuring


From: Dan Nicolaescu
Subject: Re: font problem still occuring
Date: Thu, 24 Jul 2008 09:10:06 -0700

Kenichi Handa <address@hidden> writes:

  > In article <address@hidden>, Dan Nicolaescu <address@hidden> writes:
  > 
  > > .Xdefaults contains:
  > 
  > > Emacs.Font: 
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1
  > 
  > > "emacs -Q" from CVS does not use this font, it uses instead:
  > [...]
  > >     x:-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1 (#x74)
  > 
  > > font-log show that it does not even try to use the lucidatypewriter font 
(see
  > > below).
  > 
  > > emacs -Q -fn 
'-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1' 
  > > works fine, as does an emacs-22.2 installation and an older version of
  > > emacs-23.
  > 
  > I can't reproduce it.  Don't you happen to have Emacs.Font X
  > resource (what loaded by xrdb)?

I looked at this a bit. 

If I use:
Emacs.font: 
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1

everything works fine.  If instead I use:
Emacs.Font: 
-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1

I get this:

 x_get_resource (rdb=0x8c17c58, name=0xbfb98fb0 "emacs.font", class=0xbfb98f90 
"Emacs.Font", 
    expected_type=132, ret_value=0xbfb98f70) at /tmp/emacs/src/xrdb.c:668
668       XrmStringToNameList(name, namelist);
(gdb) n
669       XrmStringToClassList(class, classlist);
(gdb) 
668       XrmStringToNameList(name, namelist);
(gdb) 
669       XrmStringToClassList(class, classlist);
(gdb) 
671       if (XrmQGetResource (rdb, namelist, classlist, &type, &value) == True
(gdb) 
674           if (type == x_rm_string)
(gdb) p value
$16 = {
  size = 49, 
  addr = 0x8c15db4 "-adobe-courier-medium-r-*-*-12-120-75-75-*-*-*-*"
}

So that's emacs doesn't even look for a Lucida font in that case.  Does
this provide more of a clue?

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]