Hi, here are some regressions with fltk 1.3. I reduced the file demonstrating the problem as much as possible, it's still 150 lines but should be clear. I haven't dug into the fltk side yet to see where the problem lies, but I won't have time for the next few days so I thought I'd throw this out first.
Problem 1 is misaligned text. It looks like spaces are kerned widely, until the text changes color, at which point it thinks you were using a narrower kerning. The result is that text in a different color is further to the left than it should be. Problem 2 is slowness. It should be obvious when you run the program, both inserting lines (it seems to get linearly slower on each insert) and when resizing the window. Problem 3 is with word wrapping, if you look carefully when resizing the window you'll notice that a word is cut off about %50 before it gets wrapped to the next line. Compiling with 1.1.9 the colored text is properly aligned and insertion and wrapping happens instantly, although I just noticed that the wrapping is different after insertion and after the first resize. Interesting, maybe there's a bug in 1.1.9 too? I initially thought this was a cocoa thing, but it's the same when I turn of __APPLE_COCOA__, so I'm guessing it has something to do with the new UTF8 support. As before, this is on OS X 10.5.8.
test_logview.cc
Description: Binary data
_______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
