emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Abort when no X font resources are set.


From: Kenichi Handa
Subject: Re: Abort when no X font resources are set.
Date: Mon, 28 Feb 2005 21:54:22 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Aidan Kehoe <address@hidden> writes:

>  Ar an seachtú lá is fiche de mí Feabhra, scríobh Jan D.: 

>>  I still can't reproduce this on any OS.  Are you soure you don't have 
>>  any Emacs resources in .Xdefaults or /etc/X11/app-defaults or 
>>  /usr/X11R6/lib/X11/app-defaults or /usr/lib/X11/app-defaults?  It looks 
>>  like the default fontset does not exist on your computer.

>  Ar an ceathrú lá is fiche de mí Feabhra, scríobh Kenichi Handa:  
 
>>  Please set break point at the function fontset_font_pattern, rerun Emacs, 
>>  and when it stopped at fontset_font_pattern, run the code one line by 
>>  one, and see why it returns Qnil. 
 
> I don’t have the resolution-specific XFree86 directories in my font path, so
> the "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1" font wasn’t
> available. There are plenty of other courier fonts available in the XFree86
> misc/ directory, though, so taking out the foundry specification stops the
> crash--the patch that stops it crashing for me is below. 

> Of course, some more informative output to standard error when the program
> can’t load its needed font is probably the better way to tackle the problem,
> long-term.

Thank you for finding out this problem.  I now can reproduce
the problem by delete the above font from my fontpath.  But,
your fix is just a workaround.  I think we should set the
ASCII font for the default font to what Fx_create_frame ()
found (I thought it was doing that but somehow I forgot to
implement it).  But, as I'm leaving for Beijing now, I'll
work on it next week.

---
Ken'ichi HANDA
address@hidden




reply via email to

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