David RAPIDEL (diginext++at++imaginet.fr)
Mon, 14 Dec 1998 10:03:34 +0100
I have a problem when trying to load font for a HUD. My code work well
if I stay with one process (APPCULLDRAW), but If I try to split into
tree process (APP_CULL_DRAW), I get the following error message :
PF Fatal/Usage: loadXFont: Couldn't get 129 display lists
witch come from this fragment of code :
void
FL_INFO_LoadXFont(void)
{
Display *xdisplay;
char fontName[]
="-*-courier-bold-r-normal--14-*-*-*-m-90-iso8859-1";
/* get font from X Server */
xdisplay = pfGetCurWSConnection();
pState->fontInfo = XLoadQueryFont(xdisplay, fontName);
if( pState->fontInfo == NULL){
pfNotify(PFNFY_FATAL, PFNFY_USAGE, "loadXFont: Couldn't load X
font\n");
exit(1);
}
.....
}
Thank you for any help.
--David RAPIDEL *---*---*---*---*---*---*---*---*---*---* DIGINEXT Le Tertia II - Pole d'activite des Milles 13851 Aix En Provence - France Tel : +33 0442975633 - Fax +33 0442975649 *---*---*---*---*---*---*---*---*---*---*
This archive was generated by hypermail 2.0b2 on Mon Dec 14 1998 - 01:34:06 PST