summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-11 17:16:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-11 20:04:56 +0100
commitbfc060597078ff19fffbcbe21fb1dd41655a9e4c (patch)
treedea9667c058e962d1b3ce275b2a685481537091e
parent019a8f3f74ec778d5fead4d2b4d47e75cf750bf7 (diff)
Related: fdo#66524 don't invalidate font cache every time
The afm dirs are misdetected as having had something in it in the past and having nothing in it now. AFAICS it seems that this particular code has always been like this, so keeping this fix separate for master only. Change-Id: I8960d0b0d22ee24d5691eecdce262011dc141ea6
-rw-r--r--vcl/generic/fontmanager/fontmanager.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx
index 7f2332c066fa..2ab8e6c9c4f8 100644
--- a/vcl/generic/fontmanager/fontmanager.cxx
+++ b/vcl/generic/fontmanager/fontmanager.cxx
@@ -1831,6 +1831,7 @@ void PrintFontManager::initialize()
m_aFontFileToFontID[ aFileName ].insert( m_nNextFontID );
m_aFonts[ m_nNextFontID++ ] = *it;
m_pFontCache->updateFontCacheEntry( *it, false );
+ ++nDirFonts;
#if OSL_DEBUG_LEVEL > 2
nBuiltinFonts++;
#endif