diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2014-01-09 01:57:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-27 14:41:53 +0100 |
commit | 74cade1ee42dbe15d3242b08d5880e08e6294e2e (patch) | |
tree | 9382c4db63e691bec53cfd4442bd5a35e4bfb7f0 /config.tests | |
parent | 7ca958eb61eec6c01d4fcc6720941ba37bd2924d (diff) |
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>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions