qt5base-lts/tests/auto/gui/text/qfontdatabase
Fabian Bumberger a4ff400e25 Fix application font removal when using FontConfig
This patch fixes an issue when a font that was added with QFontDatabase::addApplicationFont
can not be removed any more.
The reason for that is that QFontconfigDatabase::addApplicationFont adds the font to the FontConfig
application set from where it cannot be removed any more and is picked up every time the font database is
repopulated (e.g. after a call to QFontDatabase::removeApplicationFont).

This also fixes the QFontDatabase autotest which unfortunately does not fail on linux, because it tries
to add "FreeMono" (which in most cases is already there as a system font). So this patch removes FreeMono and adds
LED_REAL as test font.

Change-Id: I2fa5f4df0ad2099ac28673760ea25234c725dfc6
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2014-01-28 19:32:40 +01:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
LED_REAL_readme.txt Fix application font removal when using FontConfig 2014-01-28 19:32:40 +01:00
LED_REAL.TTF Fix application font removal when using FontConfig 2014-01-28 19:32:40 +01:00
qfontdatabase.pro API-cleanup: Add QPlatformFontDatabase::registerAliasToFontFamily(). 2013-07-16 16:02:51 +02:00
tst_qfontdatabase.cpp Fix application font removal when using FontConfig 2014-01-28 19:32:40 +01:00