qt5base-lts/tests/auto/gui/text/qfontdatabase
Mårten Nordheim 17ced070fd Read font selection flags and use them when querying for metrics
Certain fonts with multiple styles have the same family name. When
loading these as application fonts we were not specific enough when
querying for the text metrics. This meant that e.g. the bold version in
a font family would get the metrics of the regular one.

Fixes: QTBUG-67273
Change-Id: Ic988d62cddde0a1f77ddcaf2891cadc21c9b31e6
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2018-11-30 16:15:03 +00:00
..
.gitignore
LED_REAL_readme.txt Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00
LED_REAL.TTF Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00
qfontdatabase.pro Make self-contained test of condensed font matching and width 2016-10-16 00:11:13 +00:00
testdata.qrc Read font selection flags and use them when querying for metrics 2018-11-30 16:15:03 +00:00
tst_qfontdatabase.cpp Read font selection flags and use them when querying for metrics 2018-11-30 16:15:03 +00:00