diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-11-19 16:24:02 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-11-27 11:41:42 +0100 |
| commit | 4db368d4741eff4d2b2942c25d5e633648e23a64 (patch) | |
| tree | a65b8dae68c9efe7061410b60888e06b0c433109 /src/corelib/tools/qsharedpointer.cpp | |
| parent | 51b584e6062e83e24950d5eccd826ea5a5b8af6f (diff) | |
QFontEngine: add test coverage and benchmark for all engines
For some known fonts, confirm that we get the right glyph count and
glyph index for specific unicode code points.
Create QGuiApplication with a specific font engine, and test the fonts
with all engines. On Windows, that's DirectWrite, GDI, and Freetype;
on macOS CoreText and Freetype; and otherwise only Freetype.
Not all fonts will be available with all engines, so test in each test
function whether the font is a good enough match (family is enough, no
need to do a deep test).
Add a benchmark as well, using the same setup plumbing, but with
different test functions.
Change-Id: I2ed279965fc3f1dc3f283d0fe7b018fc3035c67d
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions
