This'll crash Tux Paint:

                error = Find_Glyph(font, c, CACHED_METRICS|CACHED_PIXMAP);
                if( error ) {
                        SDL_FreeSurface( textbuf );
                        return NULL;
                }

With some fonts, you'll get a box. With others, not. While all
fonts should provide such a box, the library can surely draw
one if the font doesn't provide it.


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

Reply via email to