qt6-bb10/tests/auto/gui/text
Eskil Abrahamsen Blomfeldt cba15d99f0 Add API to provide user-defined fallback fonts
When depending on Qt's font merging for providing glyphs for certain
languages, there are currently some drawbacks. For one, you will
typically get a system font which might not fit together with the
main font of the application.

In addition, you might get some glyphs from one font and other from
another (typically for Chinese where the character sets are so large
that fonts will often only implement parts).

And finally, you may get the wrong glyphs for writing systems with
regional differences, if your application is e.g. written in Japanese
and then run on a Chinese system, you might get Chinese versions of
characters which are shared between the languages.

Without language-based font matching in Qt, there's no silver bullet
for fixing this. This patch introduces API which makes it possible for
users to provide the solution themselves, either by selecting
application-provided fonts as fallbacks for certain scripts or by
hardcoding system fonts for a specific language.

[ChangeLog][Fonts] Added API to override default fallback font
families for specific scripts.

Task-number: QTBUG-121131
Change-Id: I23ee17b7dfe1c1e481c87cc67a05a0522841b598
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2024-04-18 15:25:23 +02:00
..
qabstracttextdocumentlayout Change license for tests files 2024-02-04 09:56:42 +01:00
qcssparser Change license for tests files 2024-02-04 09:56:42 +01: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 Add API to provide user-defined fallback fonts 2024-04-18 15:25:23 +02:00
qfontmetrics Fix QTextEngine regression with large-ish texts 2024-03-15 20:46:39 +01: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 Change license for tests files 2024-02-04 09:56:42 +01:00
qtextdocument Support foreground gradient in CSS parser and HTML generator 2024-03-18 20:28:36 +01:00
qtextdocumentfragment QTextHtmlImporter: don't forget to appendBlock after block tag closed 2024-03-01 08:01:45 -07:00
qtextdocumentlayout Change license for tests files 2024-02-04 09:56:42 +01:00
qtextformat Change license for tests files 2024-02-04 09:56:42 +01:00
qtextimagehandler Change license for tests files 2024-02-04 09:56:42 +01:00
qtextlayout Change license for tests files 2024-02-04 09:56:42 +01:00
qtextlist Change license for tests files 2024-02-04 09:56:42 +01:00
qtextmarkdownimporter QTextMarkdownWriter: escape all backslashes 2024-03-26 00:47:37 -07:00
qtextmarkdownwriter QTextMarkdownWriter: escape all backslashes 2024-03-26 00:47:37 -07:00
qtextobject Change license for tests files 2024-02-04 09:56:42 +01:00
qtextodfwriter Change license for tests files 2024-02-04 09:56:42 +01: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 Support rendering CSS 'border' property for html table 2024-04-18 10:57:50 +02:00
CMakeLists.txt Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00