2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 03:47:50 +00:00

Fixed some DPI-switching borks

This commit is contained in:
Jack Andersen
2015-12-07 18:26:29 -10:00
parent d923e9eedd
commit cb8d7145c2
6 changed files with 29 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ void ViewResources::resetPixelFactor(float pf)
m_monoFont = m_fcache->prepMonoFont(m_factory, AllCharFilter, false, 10.f, dpi);
m_heading14 = m_fcache->prepMainFont(m_factory, LatinAndJapaneseCharFilter, false, 14.f, dpi);
m_heading18 = m_fcache->prepMainFont(m_factory, LatinAndJapaneseCharFilter, false, 18.f, dpi);
m_curveFont = m_fcache->prepCurvesFont(m_factory, AllCharFilter, false, 11.f, dpi);
m_curveFont = m_fcache->prepCurvesFont(m_factory, AllCharFilter, false, 8.f, dpi);
m_fontData = m_factory->commit();
m_fcache->closeBuiltinFonts();
}