qt5base-lts/tests/auto/gui/text
Eskil Abrahamsen Blomfeldt d16508a285 Fix crash when loading invalid font data in QRawFont
When passing invalid data to QRawFont, we need to fail gracefully
and mark the font as invalid, instead of crashing. This crashed
because of different missing sanity checks in the Windows
and FontConfig font databases.

[ChangeLog][Text] Fixed crash when trying to load a font from
invalid data.

Task-number: QTBUG-37190
Change-Id: I62c81217ec7d873350b575c9d4ae8e6f0a939540
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2014-05-14 09:13:38 +02:00
..
qabstracttextdocumentlayout QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qcssparser Make QColor understand #AARRGGBB 2013-04-26 09:59:04 +02:00
qfont Deprecate QFont::setRawName() and QFont::rawName() 2014-03-27 22:02:39 +01:00
qfontcache QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qfontdatabase Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00
qfontmetrics Fix QFontMetrics width 2014-02-20 20:13:27 +01:00
qglyphrun tests: Replace Q_OS_MACX -> Q_OS_OSX 2013-10-21 10:37:56 +02:00
qrawfont Fix crash when loading invalid font data in QRawFont 2014-05-14 09:13:38 +02:00
qstatictext Merge remote-tracking branch 'origin/release' into stable 2014-03-17 12:29:11 +01:00
qsyntaxhighlighter QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtextblock QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtextcursor QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtextdocument Fix incorrect repaints with plain text edit 2014-04-30 18:23:23 +02:00
qtextdocumentfragment Support empty inline elements in block tags in QTextDocument 2014-02-05 09:10:25 +01:00
qtextdocumentlayout QTextEngine: fix layouting of inline objects in right-aligned tabs. 2013-12-05 16:40:06 +01:00
qtextformat Allow QTextCharFormat::setFont() to skip unresolved font props 2014-01-31 00:24:48 +01:00
qtextlayout Fix assert on justification of QTextLine with only spaces 2014-04-30 18:23:33 +02:00
qtextlist expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qtextobject QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtextodfwriter QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtextpiecetable expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qtextscriptengine Improve the Unicode script itemization implementation 2014-04-14 06:43:57 +02:00
qtexttable QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qzip QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
text.pro Fix the font engines leaking 2013-03-20 07:02:29 +01:00