qt5base-lts/tests/auto/gui/text/qfontdatabase
Fabian Bumberger 74cade1ee4 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: I70fc823075923aa426da1eb3e052affcc416e399
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2014-03-27 14:41:53 +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-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 API-cleanup: Add QPlatformFontDatabase::registerAliasToFontFamily(). 2013-07-16 16:02:51 +02:00
tst_qfontdatabase.cpp Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00