On 23.01.2010, at 19:50, Evan Laforge wrote: > 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.
Well, OS X always had the problem that calculating text width is very slow. Under FLTK 1.1, I use a lookup table and a few tricks to accelerate text calculation and it worked very well. Now with UTF8, we need to support a huge number of characters and have to resort back to the slow OS based functions. I will see if we can find a good solution for this, maybe using some kind of caching. Matthias _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
