qt6-bb10/tests/auto/gui/text
Eskil Abrahamsen Blomfeldt aa9a991169 Respect QTextDocument::defaultFont() in ODF writer
The ODF writer would ignore the default font set on the document
and just output default values according to spec, such as "Sans"
for the font family.

With this patch, any settings set explicitly on the default font
will be taken into account, granted that they are not overridden
by any properties in the QTextCharFormat.

[ChangeLog][Text] The ODF backend to QTextDocumentWriter will now
respect the default font set on the QTextDocument.

Fixes: QTBUG-124570
Change-Id: Ia937420f7f721bbf3264661160cb0a593907358c
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit 77a9a208227ecf750d620b3048053fd4fc4299a4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-19 19:42:55 +00:00
..
qabstracttextdocumentlayout Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qcssparser QTextHtmlParser: Handle fractional font-size pixel values 2024-08-13 12:08:27 +00:00
qfont Change license for tests files 2024-02-04 09:56:42 +01:00
qfontcache Change license for tests files 2024-02-04 09:56:42 +01:00
qfontdatabase Support application fallbacks for common script 2024-05-21 07:24:03 +02:00
qfontmetrics Introduce flag to use typographical line metrics for fonts 2024-05-31 19:30:53 +02:00
qglyphrun Change license for tests files 2024-02-04 09:56:42 +01:00
qinputcontrol Change license for tests files 2024-02-04 09:56:42 +01:00
qrawfont Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
qstatictext Change license for tests files 2024-02-04 09:56:42 +01:00
qsyntaxhighlighter Change license for tests files 2024-02-04 09:56:42 +01:00
qtextblock Change license for tests files 2024-02-04 09:56:42 +01:00
qtextcursor Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qtextdocument Support SVG specific stroke styling properties 2024-05-14 21:48:12 +03:00
qtextdocumentfragment QTextHtmlImporter: don't forget to appendBlock after block tag closed 2024-03-01 08:01:45 -07:00
qtextdocumentlayout Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qtextformat Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qtextimagehandler QTextDocument: Add support for responsive images 2024-05-07 12:28:59 -07:00
qtextlayout Fix tst_QTextLayout::softHyphens failure with some fonts 2024-08-06 20:42:59 +00:00
qtextlist Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qtextmarkdownimporter QTextMarkdownWriter: escape all backslashes 2024-03-26 00:47:37 -07:00
qtextmarkdownwriter Replace 'Qt Designer' and 'Qt Widgets Designer' in code 2024-05-16 13:04:41 +01:00
qtextobject Change license for tests files 2024-02-04 09:56:42 +01:00
qtextodfwriter Respect QTextDocument::defaultFont() in ODF writer 2024-08-19 19:42:55 +00:00
qtextpiecetable Change license for tests files 2024-02-04 09:56:42 +01:00
qtextscriptengine Revert "Don't do font merging for PUA characters" 2024-03-18 09:09:07 +01:00
qtexttable Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
CMakeLists.txt Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00