Matthias Melcher wrote:
> On 03.12.2009, at 10:51, leowang wrote:
> 
>> where to remove this call, could you please tell me in which file and which 
>> function? My fltk version is fltk-v2.0-r6136. Thanks again.
> 
> I am not using FLTK2 anymore. Just grep for "Fl_Preferences", likely in the 
> file chooser section. It may very well be a feature of FLTK1 only, and it 
> also may only happen when a file chooser is actually opened.
> 
> After reading the other mails, the font loading seems to be more likely an 
> issue, particularly if a requested font is not on the system and X starts to 
> search for a replacement font.

        strace is often a good way to see what's going on.
        Try running your app through strace to see what it's doing.

        As Matt said, it's probably font loading -- I've seen that before
        once a long time ago.. there was a thread on it IIRC that I was
        involved with. I think it for some reason was loading lots and lots
        of fonts, and spent a bit of time enumerating them, or some such.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to