[Top][All Lists]

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

Re: [Fonts]X server crashes when looping on all fonts (fwd)

From: Nicola Pero
Subject: Re: [Fonts]X server crashes when looping on all fonts (fwd)
Date: Tue, 1 Oct 2002 06:40:44 +0100 (BST)

---------- Forwarded message ----------
Date: 30 Sep 2002 20:46:34 +0100
From: Juliusz Chroboczek <address@hidden>
Reply-To: address@hidden
To: address@hidden
Subject: Re: [Fonts]X server crashes when looping on all fonts

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).


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

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

Fonts mailing list

reply via email to

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