On Tue, 2005-01-04 at 02:20, Bill Kendrick wrote:
> I've added a "--nosysfonts" option to Tux Paint
> (and corresponding control in Tux Paint Config) which disables any attempts
> to load fonts from 'outside' Tux Paint.
> 
> This allows _me_ to keep running the app, until we can figure out what
> the problem is with the font grouping code in the latest CVS. ;^)
> It may also prove a useful feature in the 'real world' (for both preventing
> possible crashes, as well as culling down the number of available fonts
> for people who(se kids) don't need them.)

That's probably good for those people who were crazy enough
to buy and install a 5000-font CD-ROM. Of course, every other
app on their system will be horribly slow.

Would you like a memory checker in CVS? I have one,
only about 150 lines, that prints a nice report when
the app exits. For each alocation, you get a line with:

1. the size
2. the line number, or -1 if allocated from another file
3. the allocation number (1,2,3,4...)

Possible enhancements:
a. printing the report when a signal is sent 
b. printing the nearest line-numbered allocations for an unnumbered one
c. tracking high-water marks

Right now, Tux Paint leaks just under half a megabyte. 
I've yet to determine if this is a one-time leak or an
on-going leak.

> Also, I've replaced the 640x480 and 800x600 radio buttons with a pulldown
> that lists the window dimensions listed in tuxpaint --help.
> (Tux Paint Config also now, obviously, supports the "windowsize=..." syntax.)

I think all sizes work now. I haven't really checked the
file open dialog. I just recently fixed the low-quality
color selector to not overwrite the tux area. I've been
testing with heights that are not a multiple of 48, and
things have been looking good.


_______________________________________________
Tuxpaint-dev mailing list
Tuxpaint-dev@tux4kids.net
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to