Hello, nice to hear from you again. NP> The problem is an optimization -- the X server doesn't load a font NP> until an app asks for information that can't be gotten from the NP> XLFD list (xlsfonts doesn't crash the server).
Exactly. NP> What's more, the server doesn't unload fonts after you're done with them, NP> on the assumption that you'll need them later. That's not true. The memory is freed upon XFreeFont. NP> If it's not a bug, then exactly what is the way/API for looping on all NP> fonts in the system to get the info we need ? There is widespread consensus (among at least five people) that the current X11 font API is obsolete, and should not be used in new applications. The fact that you feel the need to loop accross all fonts at startup simply shows that the needs of GNUstep go beyond what the core fonts API provides. I think you should consider using client-side fonts, the RENDER extension, and the fontconfig/Xft2 API. Please see Keith's masterwork of propaganda on http://fontconfig.org/ Juliusz _______________________________________________ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
