From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: font problem still occuring Date: Thu, 24 Jul 2008 09:10:06 -0700 Message-ID: <200807241610.m6OGA6Hj003909@sallyv1.ics.uci.edu> References: <200807240034.m6O0YUeF023469@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216916218 18344 80.91.229.12 (24 Jul 2008 16:16:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2008 16:16:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 24 18:17:47 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KM3Vi-0007zW-HE for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 18:17:46 +0200 Original-Received: from localhost ([127.0.0.1]:36782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM3Uo-0006uu-W5 for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 12:16:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KM3QD-00055p-65 for emacs-devel@gnu.org; Thu, 24 Jul 2008 12:12:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KM3Q9-00054W-Vk for emacs-devel@gnu.org; Thu, 24 Jul 2008 12:12:04 -0400 Original-Received: from [199.232.76.173] (port=55989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KM3Q9-00054O-Qg for emacs-devel@gnu.org; Thu, 24 Jul 2008 12:12:01 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]:51110) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KM3Q9-000851-HP for emacs-devel@gnu.org; Thu, 24 Jul 2008 12:12:01 -0400 X-ICS-MailScanner-Watermark: 1217520607.27048@vs3TobNP3bUOdjDBDGyk7w Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m6OGA6Hj003909; Thu, 24 Jul 2008 09:10:06 -0700 (PDT) In-Reply-To: (Kenichi Handa's message of "Thu, 24 Jul 2008 11:50:43 +0900") Original-Lines: 55 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101403 Archived-At: Kenichi Handa writes: > In article <200807240034.m6O0YUeF023469@sallyv1.ics.uci.edu>, Dan Nicolaescu 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