diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2010-10-13 16:43:23 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2010-11-18 12:42:28 (GMT) |
commit | 77218177d44bb120e4cb558cadeadc0bcf6c3cab (patch) | |
tree | 95b801953dcad329c59200151323c46ca52f1482 /src/scripttools/debugging/qscriptdebuggercodewidgetinterface.cpp | |
parent | ed32a5262fcff59771628ed22425669f00784cb2 (diff) | |
download | Qt-77218177d44bb120e4cb558cadeadc0bcf6c3cab.zip Qt-77218177d44bb120e4cb558cadeadc0bcf6c3cab.tar.gz Qt-77218177d44bb120e4cb558cadeadc0bcf6c3cab.tar.bz2 |
Fix fontconfig pattern merging
When merging fontconfig patterns, we need to clean up existing object
first, otherwise the added object will be appended instead of replacing
the existing object. When multiple font engines are using shaping, if
fontconfig patterns are not correctly merged, it will result using the
old font. For instance, in "<b>Fake Bold</b> Normal", "Normal" text will
continue using the font for "Fake Bold" (that only happen with fallback
fonts).
Task-number: QTBUG-14455
Reviewed-by: Eskil
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggercodewidgetinterface.cpp')
0 files changed, 0 insertions, 0 deletions