Gfx: Add temporary solution for local fonts

This commit is contained in:
Birunthan Mohanathas
2013-03-28 15:09:46 +02:00
parent 056277ce4f
commit 39fe9750fd
7 changed files with 19 additions and 7 deletions

View File

@ -156,7 +156,8 @@ void CMeterString::Initialize()
m_FontFace.c_str(),
m_FontSize,
m_Style & BOLD,
m_Style & ITALIC);
m_Style & ITALIC,
m_MeterWindow->GetPrivateFontCollection());
}
/*

View File

@ -257,7 +257,6 @@ void CMeterWindow::Dispose(bool refresh)
if (m_FontCollection)
{
CMeterString::FreeFontCache(m_FontCollection);
delete m_FontCollection;
m_FontCollection = NULL;
}