[PATCH] empty charset registry?

Aidan Kehoe kehoea
Thu Nov 9 04:27:25 EST 2006


 Ar an naoi? l? de m? na Samhain, scr?obh stephen at xemacs.org: 

 > Aidan Kehoe writes:
 > 
 >  > The first X11 release with the current server-side font
 >  > architecture, X11R5, shipped with a long list of ISO-8859-1
 >  > fonts. So, I am inclined to add the following. Any comments?
 > 
 > If you can't find any font with "*", why would you expect a match with
 > "*-iso8859-1"?  This is quite unintuitive.

Not "*", rather "*really broken-registry and charset", after someone had
done: 

  (set-charset-registries 'ascii ["really broken-registry and charset"])

 > After integrating your patches, I get a crash in temacs in a tree
 > almost identical to CVS HEAD, in an Xft build on Mac OS X with the
 > X.org server and libraries, in face initialization.  Have you done an
 > Xft build with this stuff yet?

Yes. Please post a bug report; I can?t reproduce--currently on Cygwin,
previously on NetBSD. 

 > I dunno, Aidan.  It's not your fault that X goes belly-up whenever you
 > hand it something it doesn't expect, but it is a fact that it does.  I
 > don't really see any good reason to suppose that there aren't several
 > more crashes lurking, because you've completely changed the model.  Up
 > to now, we assumed that we could choose from the whole list of fonts.

That wasn?t always the case; cf. the comment on x-init-device-faces in
x-faces.el. 

 > Now we have to get the query right.  But querying X servers has always
 > been less than reliable.

Would you prefer a fallback to fixed for ASCII instead? XFree86 servers at
least give this error if it?s not available: 

Fatal server error:
could not open default font ?fixed?

-- 
Santa Maradona, priez pour moi!



More information about the XEmacs-Beta mailing list