mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Gfx: Add temporary solution for local fonts
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -257,7 +257,6 @@ void CMeterWindow::Dispose(bool refresh)
|
||||
|
||||
if (m_FontCollection)
|
||||
{
|
||||
CMeterString::FreeFontCache(m_FontCollection);
|
||||
delete m_FontCollection;
|
||||
m_FontCollection = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user