nanogui: FLTK 2.0 Fonts


Previous by date: 2 Aug 2007 18:04:14 +0100 Re: FLTK 2.0 followup, Graham Henderson
Next by date: 2 Aug 2007 18:04:14 +0100 Re: FLTK 2.0 followup, Greg Haerr
Previous in thread: 2 Aug 2007 18:04:14 +0100 Re: FLTK 2.0 Fonts, Graham Henderson
Next in thread:

Subject: Re: [nanogui] FLTK 2.0 Fonts
From: "Greg Haerr" ####@####.####
Date: 2 Aug 2007 18:04:14 +0100
Message-Id: <2d1b01c7d527$2232e4b0$0300a8c0@RDP>

: The good people over at the fltk forum provided some insight.  Within the 
font_xlfd  fileI simply commented out the call to XListFonts.

Amazing that eliminating a call solves the problem and it still works!
Makes you wonder why its in there in the first place.


: Increasing the stack for the server task solved the problem.  Would it be 
better to allocate that memory from the heap or statically define it 
globally?

This was increased to 30000 to handle larger images.  Its allocated
from the heap since its normally cheap and fast to do so, any
nxproto routine with a data buffer may require it.  If you have
space, a static global define would work, but you've essentially
done that with the increased stack spec already...

Regards,

Greg


Previous by date: 2 Aug 2007 18:04:14 +0100 Re: FLTK 2.0 followup, Graham Henderson
Next by date: 2 Aug 2007 18:04:14 +0100 Re: FLTK 2.0 followup, Greg Haerr
Previous in thread: 2 Aug 2007 18:04:14 +0100 Re: FLTK 2.0 Fonts, Graham Henderson
Next in thread:


Powered by ezmlm-browse 0.20.