summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-10 12:14:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-10 12:14:40 +0000
commit3222a76e29bf85630ca30a24cf2c2399cc159354 (patch)
tree165b384f813314919d83622ab662e6fb7d8007a3 /vcl
parent232891eda7a514d475894ad764d3f2b50996d6a8 (diff)
release fonts on shutdown
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/glyphs/gcach_ftyp.cxx1
-rw-r--r--vcl/unx/source/fontmanager/fontconfig.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx
index cc798549b48c..4bb7c247aa2e 100644
--- a/vcl/source/glyphs/gcach_ftyp.cxx
+++ b/vcl/source/glyphs/gcach_ftyp.cxx
@@ -522,6 +522,7 @@ void* FreetypeServerFont::GetFtFace() const
FreetypeManager::~FreetypeManager()
{
+ ClearFontList();
// This crashes on Solaris 10
// TODO: check which versions have this problem
//
diff --git a/vcl/unx/source/fontmanager/fontconfig.cxx b/vcl/unx/source/fontmanager/fontconfig.cxx
index e749c0d08e90..b8c21249b3f0 100644
--- a/vcl/unx/source/fontmanager/fontconfig.cxx
+++ b/vcl/unx/source/fontmanager/fontconfig.cxx
@@ -162,7 +162,7 @@ public:
void FcFini()
{
- //To-Do: get non-headless mode smoketest to pass
+ //To-Do: get gtk vclplug smoketest to pass
//if (m_pFcFini) m_pFcFini();
}