Revision 875001

Go back to digest for 26th October 2008

Optimization in KDE Base

Germain Garand committed changes in /trunk/KDE/kdelibs/khtml/rendering:

Scan our text objects for complex/combining unicode characters, and use the much faster context-free QFontMetrics::width(QChar) if none are found.

This effectively address the QFontMetrics speed bottleneck we experienced with Qt 4 and makes layout of the document 200% to 300% faster.

File Changes

Modified 7 files
  • /trunk/KDE/kdelibs/khtml/rendering
  •   /bidi.cpp
  •   /font.cpp
  •   /font.h
  •   /render_block.cpp
  •   /render_text.cpp
  •   /render_text.h
  •   /SVGRootInlineBox.cpp
7 files changed in total