I was putting Dillo through nm, and I was surprised to see a lot of
Fl_Paged_Device, Fl_Printer, Fl_PostScript_Printer, Fl_PostScript_File_Device,
Fl_PostScript_Graphics_Driver with T and D for symbol type when we aren't
currently using any of that.
If, in Fl_Text_Display.cxx, I ifdef out
#if 0
if (Fl_Surface_Device::surface()->class_name() == Fl_Printer::class_id) {
// if to printer, draw the background
fl_rectf(text_area.x, text_area.y, text_area.w, text_area.h, color() );
}
#endif
(the fl_rectf shouldn't matter; we make some use of it elsewhere),
the stripped binary goes from 1186832 bytes to 1122120. 64K is 5.5%.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk