summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-07-08 15:40:43 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-07-11 11:31:11 (GMT)
commit1f90ae36cff8acf581d1624bf011fe3a55c623c0 (patch)
treeb53e135f8354a026a25060dce8c3003e952ab988 /src/corelib
parentc5f3ea858679d07d753e29af87f04efadd7683e9 (diff)
downloadQt-1f90ae36cff8acf581d1624bf011fe3a55c623c0.zip
Qt-1f90ae36cff8acf581d1624bf011fe3a55c623c0.tar.gz
Qt-1f90ae36cff8acf581d1624bf011fe3a55c623c0.tar.bz2
Fix crash when app font is added
Loading app fonts will clear the application font cache, but QFontPrivate::engineWithScript will try to load the font again, in Mac the font engine used here must be the one used for shaping, because subsequent sub font engines may be added to it during the shaping process (QCoreTextFontEngineMulti::stringToCMap). That is why we need to fetch the font engine directly from QTextEngine's fontEngine cache instead of QFontCache. Task-number: QTBUG-20250 Reviewed-by: Eskil
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions