qt6-bb10/src/gui
Eskil Abrahamsen Blomfeldt 9f13a7d020 Make cache of opentype tables in Harfbuzz face lazy
The mechanism in fontconfig which determines if a certain character
is available (FcCharSetHasChar()) may give false positives, in which
case we would load and unload those fonts per every char for which
FC gave us a false positive. This was a major performance regression.
Specifically the false positives happened when looking at e.g.
italic variants of certain multilingual fonts, since we only check
the charset of the font family as a whole and not of the specific variant,
which may only support a subset of the chars.

To optimize this, we remove the deletion of the font engines after
loading them, but also wait with loading the opentype tables until
they are actually needed. This means that for the false positives,
we will load the font, but the cached data for each unused font will
be much smaller.

Change-Id: Idfc794401a2080da5946bf65204eb947aeb635ed
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-03-06 12:43:27 +01:00
..
accessible Remove AccessibilityPrepare event. 2012-03-05 18:46:43 +01:00
egl Remove Symbian specific code from QtGui. 2012-01-31 07:08:20 +01:00
image Merge remote-tracking branch 'origin/api_changes' 2012-03-04 21:45:05 +01:00
kernel Cocoa: Implement widget palettes. 2012-03-06 12:30:16 +01:00
math3d Remove the usage of deprecated qdoc macros. 2012-03-02 23:16:25 +01:00
opengl Remove the usage of deprecated qdoc macros. 2012-03-02 23:16:25 +01:00
painting qpa: Document a requirement of the backing store implementation 2012-03-06 08:24:22 +01:00
text Make cache of opentype tables in Harfbuzz face lazy 2012-03-06 12:43:27 +01:00
util Remove the usage of deprecated qdoc macros. 2012-03-02 23:16:25 +01:00
gui.pro Revert "Put the generated <module>version.h into build tree" 2012-02-01 10:48:09 +01:00