It seems that some mail I posted to the list yesterday from the uni 
never arrived ... so I will try again from home.

> I did notice however that you've put some raw calls to the Xserver in the
> in there as well. Is there any possibily you could use gdk calls instead?

I share the sentiment, but was not able to find any functions in the 
gtk/gdk that would allow me to change the font path (I find the 
documentation somewhat limited ...), and because the code needs 
to be able to trap an X error, it has to install its own error handler, 
which I doubt gdk has API for (to avoid any unnecessary panic, we 
only do this for a very short time, and reinstall the original handler 
straight away).

However, if there is a way to do this via gdk which I missed, then I 
am all in favour.

Tomas

PS: We already have a couple of raw X call elsewhere, needing to 
get around some missing gtk/gdk api in the font handling (gdk uses 
the same function for drawing with 8 and 16-bit fonts, and 
depending on the nature of the font it expects either single-byte or 
double-byte string, but it does not provide means to determine 
whether a given font is 8 or 16 bit).



*********************************************
[EMAIL PROTECTED] / www.frydrych.net
PGP keys:  http://www.frydrych.net/contact.html

Reply via email to