What *does* take far more time is the initial rendering, while rewrapping is exactly as fast as before. This (and also that Pango is only used for drawing, and determing the size of fonts and words) lets me assume that Dw_page_shape_glyphs is not very efficient. I've tried to track down this with gprof, but somehow the profile does not give me much clues. Perhaps it is worth to optimize this code. (The comparison is a bit unfair because of the different grades of matureness :-)
Hi guys, It seems obvious to me, that before an effort is made to rip out one widget system and replace it with another widget system, a little more profiling is in order to confirm indeed, that the problem is Pango. If Pango is the problem, again, before changing the underlying widget system, perhaps some investigation in concert with the Pango developers should be done to see if there's some way to optimize dillo or Pango. Just my $0.02. Alex Pavloff - apavloff@esatechnology.com ESA Technology ---- www.esatechnology.com ------- Linux-based industrial HMI ------ -------- www.esatechnology.com/5k -------
participants (1)
-
Alex Pavloff