qt6-bb10/src/gui/text
Konstantin Ritt 84be1bd4d3 Fix crash due to a stale pointer dereferencing
The HB face caching mechanism introduced in 227e9a40cf
wasn't complete due that fact that HB-NG doesn't parse the entire
font table at once but rather references a table on-demand.
This incompleteness caused a crash in case the engine doesn't
get cached or when it removed from the cache and then re-used.

Task-number: QTBUG-36099

Change-Id: I7816836107655ce7cf6eb9683bb5dc7f892f9cd1
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Reviewed-by: Michael Krasnyk <michael.krasnyk@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
2014-01-16 20:38:42 +01:00
..
qabstracttextdocumentlayout.cpp Introduce QAbstractTextDocumentLayout::unregisterHandler() 2013-09-04 18:52:29 +02:00
qabstracttextdocumentlayout.h Introduce QAbstractTextDocumentLayout::unregisterHandler() 2013-09-04 18:52:29 +02:00
qabstracttextdocumentlayout_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qcssparser.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qcssparser_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qcssscanner.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdistancefield.cpp Use custom class for storing distance fields instead of QImage. 2013-08-27 16:03:11 +02:00
qdistancefield_p.h Removed unused distance field functions. 2013-09-09 15:27:25 +02:00
qfont.cpp Cleanup freetype data in a thread-safe way 2013-11-20 19:25:56 +01:00
qfont.h Clean up old PostScript printing code 2013-05-12 13:58:04 +02:00
qfont_p.h Cleanup freetype data in a thread-safe way 2013-11-20 19:25:56 +01:00
qfont_qpa.cpp Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qfontdatabase.cpp Streamline font match() function. 2013-11-28 16:25:03 +01:00
qfontdatabase.h Re-add deprecated symbol for ABI compatibility with Qt 5.1. 2013-10-11 22:32:16 +02:00
qfontdatabase_qpa.cpp Merge "Merge remote-tracking branch 'origin/release' into stable" into refs/staging/stable 2013-11-28 11:21:44 +01:00
qfontengine.cpp Fix crash due to a stale pointer dereferencing 2014-01-16 20:38:42 +01:00
qfontengine_ft.cpp Fix crash due to a stale pointer dereferencing 2014-01-16 20:38:42 +01:00
qfontengine_ft_p.h Cleanup freetype data in a thread-safe way 2013-11-20 19:25:56 +01:00
qfontengine_p.h Fix crash due to a stale pointer dereferencing 2014-01-16 20:38:42 +01:00
qfontengine_qpa.cpp Remove Q_PACKED from structures that do not need to be packed 2013-09-13 11:47:06 +02:00
qfontengine_qpa_p.h Remove Q_PACKED from structures that do not need to be packed 2013-09-13 11:47:06 +02:00
qfontengineglyphcache_p.h Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qfontinfo.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qfontmetrics.cpp Doc: Fix broken links 2013-11-05 00:29:01 +01:00
qfontmetrics.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qfontsubset.cpp Remove some qBinaryFind usages from QtGui 2013-09-23 21:20:47 +02:00
qfontsubset_agl.cpp Fix WinCE/MSVC2008 build errors related to std::lower_bound patches. 2013-09-25 17:22:52 +02:00
qfontsubset_p.h Make qtbase compile with QT_NO_TEMPORARYFILE 2013-06-04 00:05:55 +02:00
qfragmentmap.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfragmentmap_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qglyphrun.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qglyphrun.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qglyphrun_p.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qharfbuzzng.cpp Fix crash due to a stale pointer dereferencing 2014-01-16 20:38:42 +01:00
qharfbuzzng_p.h Add HarfBuzz-to-Qt bridging code 2013-09-08 04:21:56 +02:00
qplatformfontdatabase.cpp Fix writingSystems determination by code page range bits 2013-12-19 05:49:20 +01:00
qplatformfontdatabase.h API-cleanup: Add QPlatformFontDatabase::registerAliasToFontFamily(). 2013-07-16 16:02:51 +02:00
qrawfont.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qrawfont.h Perform kerning in QRawFont::advancesForGlyphIndexes 2013-03-19 03:59:42 +01:00
qrawfont_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qrawfont_qpa.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstatictext.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qstatictext.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qstatictext_p.h Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsyntaxhighlighter.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsyntaxhighlighter.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtextcursor.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qtextcursor.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtextcursor_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextdocument.cpp src/gui/text: whitespace fixes 2013-11-26 00:05:46 +01:00
qtextdocument.h Use Q_QDOC for Qt namespace declaration in Qt Gui 2013-12-03 11:41:03 +01:00
qtextdocument_p.cpp src/gui/text: whitespace fixes 2013-11-26 00:05:46 +01:00
qtextdocument_p.h src/gui/text: whitespace fixes 2013-11-26 00:05:46 +01:00
qtextdocumentfragment.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qtextdocumentfragment.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtextdocumentfragment_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextdocumentlayout.cpp Restore handling of bullets for lists with a font size of > 36 pixels 2013-10-16 10:32:47 +02:00
qtextdocumentlayout_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextdocumentwriter.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qtextdocumentwriter.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtextengine.cpp REG: Fix support for strings spanning multiple font engines 2014-01-03 13:00:18 +01:00
qtextengine_p.h Add HarfBuzz-NG support 2013-09-08 07:48:40 +02:00
qtextformat.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qtextformat.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtextformat_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtexthtmlparser.cpp Revert "Ensure CSS rules are inherited from the parent tags" 2013-11-05 23:04:16 +01:00
qtexthtmlparser_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextimagehandler.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextimagehandler_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextlayout.cpp Fix misaligned selection region with text when centered 2013-10-23 10:54:44 +02:00
qtextlayout.h Clean up old PostScript printing code 2013-05-12 13:58:04 +02:00
qtextlist.cpp src/gui/text: whitespace fixes 2013-11-26 00:05:46 +01:00
qtextlist.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtextobject.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qtextobject.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtextobject_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextodfwriter.cpp Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qtextodfwriter_p.h Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
qtextoption.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qtextoption.h Correct the bit field sizes in QTextOption 2013-10-01 08:19:15 +02:00
qtexttable.cpp src/gui/text: whitespace fixes 2013-11-26 00:05:46 +01:00
qtexttable.h Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
qtexttable_p.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qzip.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qzipreader_p.h Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
qzipwriter_p.h Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
text.pri src/gui/text: whitespace fixes 2013-11-26 00:05:46 +01:00