GNU bug report logs - #10233
Font is not defined error at startup

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Tue, 6 Dec 2011 14:44:02 UTC

Severity: normal

Done: Dan Nicolaescu <dann <at> gnu.org>

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 10233 in the body.
You can then email your comments to 10233 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-gnu-emacs <at> gnu.org:
bug#10233; Package emacs. (Tue, 06 Dec 2011 14:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Nicolaescu <dann <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 06 Dec 2011 14:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Font is not defined error at startup
Date: Tue, 06 Dec 2011 09:42:57 -0500
When starting up the current trunk I get this error:

Font `-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
is not defined

That font is set in .Xdefaults, and it has not changed in years.

The cause is this checkin:

106614: Kenichi Handa 2011-12-05 [merge] ftfont.c (get_adstyle_property): If the font is not BDF nor PCF, return Qnil





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10233; Package emacs. (Thu, 08 Dec 2011 02:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 10233 <at> debbugs.gnu.org (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 10233 <at> debbugs.gnu.org
Subject: Re: bug#10233: Font is not defined error at startup
Date: Thu, 08 Dec 2011 11:39:06 +0900
In article <yxqipltvk0e.fsf <at> fencepost.gnu.org>, Dan Nicolaescu <dann <at> gnu.org> writes:

> When starting up the current trunk I get this error:

> Font `-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
> is not defined

> That font is set in .Xdefaults, and it has not changed in years.

> The cause is this checkin:

> 106614: Kenichi Handa 2011-12-05 [merge] ftfont.c (get_adstyle_property): If the font is not BDF nor PCF, return Qnil

Oops, sorry, I made a silly mistake.  I've just installed
the attached change.  Please try again.  If it still doesn't
fix your problem, please let me know the value of fcstr
after the call of FcPatternGetString (p, FC_FONTFORMAT, 0,
&fcstr) in the change.

---
Kenichi Handa
handa <at> m17n.org

=== modified file 'src/ftfont.c'
--- src/ftfont.c	2011-12-05 07:48:29 +0000
+++ src/ftfont.c	2011-12-08 02:30:40 +0000
@@ -166,8 +166,8 @@
 
 #ifdef FC_FONTFORMAT
   if ((FcPatternGetString (p, FC_FONTFORMAT, 0, &fcstr) == FcResultMatch)
-      && (xstrcasecmp ((char *) fcstr, "bdf") != 0
-	  || xstrcasecmp ((char *) fcstr, "pcf") != 0))
+      && xstrcasecmp ((char *) fcstr, "bdf") != 0
+      && xstrcasecmp ((char *) fcstr, "pcf") != 0)
     /* Not a BDF nor PCF font.  */
     return Qnil;
 #endif





Reply sent to Dan Nicolaescu <dann <at> gnu.org>:
You have taken responsibility. (Thu, 08 Dec 2011 07:37:01 GMT) Full text and rfc822 format available.

Notification sent to Dan Nicolaescu <dann <at> gnu.org>:
bug acknowledged by developer. (Thu, 08 Dec 2011 07:37:02 GMT) Full text and rfc822 format available.

Message #13 received at 10233-done <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: 10233-done <at> debbugs.gnu.org
Subject: Re: bug#10233: Font is not defined error at startup
Date: Thu, 08 Dec 2011 02:35:26 -0500
Kenichi Handa <handa <at> m17n.org> writes:

> In article <yxqipltvk0e.fsf <at> fencepost.gnu.org>, Dan Nicolaescu <dann <at> gnu.org> writes:
>
>> When starting up the current trunk I get this error:
>
>> Font `-b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1'
>> is not defined
>
>> That font is set in .Xdefaults, and it has not changed in years.
>
>> The cause is this checkin:
>
>> 106614: Kenichi Handa 2011-12-05 [merge] ftfont.c (get_adstyle_property): If the font is not BDF nor PCF, return Qnil
>
> Oops, sorry, I made a silly mistake.  I've just installed
> the attached change.  Please try again.  If it still doesn't

Thank you! 
It works now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Jan 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 225 days ago.

Previous Next


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