* bug#10233: Font is not defined error at startup
@ 2011-12-06 14:42 Dan Nicolaescu
2011-12-08 2:39 ` Kenichi Handa
0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2011-12-06 14:42 UTC (permalink / raw)
To: 10233
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#10233: Font is not defined error at startup
2011-12-06 14:42 bug#10233: Font is not defined error at startup Dan Nicolaescu
@ 2011-12-08 2:39 ` Kenichi Handa
2011-12-08 7:35 ` Dan Nicolaescu
0 siblings, 1 reply; 3+ messages in thread
From: Kenichi Handa @ 2011-12-08 2:39 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: 10233
In article <yxqipltvk0e.fsf@fencepost.gnu.org>, Dan Nicolaescu <dann@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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#10233: Font is not defined error at startup
2011-12-08 2:39 ` Kenichi Handa
@ 2011-12-08 7:35 ` Dan Nicolaescu
0 siblings, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2011-12-08 7:35 UTC (permalink / raw)
To: Kenichi Handa; +Cc: 10233-done
Kenichi Handa <handa@m17n.org> writes:
> In article <yxqipltvk0e.fsf@fencepost.gnu.org>, Dan Nicolaescu <dann@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-08 7:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06 14:42 bug#10233: Font is not defined error at startup Dan Nicolaescu
2011-12-08 2:39 ` Kenichi Handa
2011-12-08 7:35 ` 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).