qt5base-lts/tests/auto/gui/text
Andy Shaw b1004c7d0a If only family is set, prefer that in the families list after resolving
If a font with only a family set is resolved with one that has been setup
with setFamilies() then the family needs to be prepended to the families
list after resolving. This is so that the font still prefers the one set
as just a family with no famillies set.

This also amends the QFontDialog test to account for this too.

[ChangeLog][QtGui][Text] Resolving a font that just has a family set
with families set will prepend the family to the families so that it
is still the first preference for the font.

Task-number: QTBUG-46322
Change-Id: Icc4005732f95b2b4c684e592b06b31e133270e44
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2019-11-05 09:46:29 +01:00
..
qabstracttextdocumentlayout Make imageAt and formatAt more robus against different font metrics 2016-08-12 03:59:23 +00:00
qcssparser Merge remote-tracking branch 'origin/5.12' into dev 2018-10-25 07:21:53 +02:00
qfont If only family is set, prefer that in the families list after resolving 2019-11-05 09:46:29 +01:00
qfontcache Handle fonts that have commas/quotes in the family name 2018-11-08 16:08:25 +00:00
qfontdatabase winrt: Return monospace font for QFontDatabase::systemFont(QFontDatabase::FixedFont) 2019-05-15 18:08:01 +00:00
qfontmetrics Fix text shifting vertically when elided 2018-12-21 10:27:12 +00:00
qglyphrun Merge remote-tracking branch 'origin/5.12' into dev 2019-01-04 07:33:14 +01:00
qinputcontrol Accept all formatting characters as valid input 2017-01-26 10:59:49 +00:00
qrawfont [Windows] Fixed regression when creating fallback fonts 2019-02-14 08:01:05 +00:00
qstatictext Merge remote-tracking branch 'origin/5.11' into dev 2018-07-17 10:19:22 +02:00
qsyntaxhighlighter tst_qsyntaxhighlighter: fix no-op QTRY_VERIFY check 2019-01-16 14:23:42 +00:00
qtextblock Updated license headers 2016-01-21 18:55:18 +00:00
qtextcursor Fix crash when detaching dangling QTextCursor 2018-09-27 06:51:37 +00:00
qtextdocument Merge remote-tracking branch 'origin/5.12' into 5.13 2019-08-12 13:23:11 +02:00
qtextdocumentfragment Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-15 01:00:51 +01:00
qtextdocumentlayout Fix page breaking with large images 2019-04-26 18:21:18 +00:00
qtextformat Update font when text format's letter spacing type is changed 2017-12-22 05:37:55 +00:00
qtextlayout Fix crash when text contains too many directional chars 2019-08-31 08:29:31 +00:00
qtextlist Updated license headers 2016-01-21 18:55:18 +00:00
qtextobject Updated license headers 2016-01-21 18:55:18 +00:00
qtextodfwriter Add more formatting to QTextDocumentWriter when writing ODF files 2018-04-11 18:44:31 +00:00
qtextpiecetable Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qtextscriptengine qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
qtexttable Fix QTextTable:insertRows() for tables with spanning cells 2019-02-09 08:01:08 +00:00
qzip update testdata 2016-08-31 10:00:29 +00:00
text.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00