From 802c970ec3799f853eec7facbf982d33a98d409c Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Wed, 27 Mar 2013 23:29:18 +0000 Subject: [PATCH] #ifdef psp for the increase res font f3 which is by far the worst looking font on higher res devices. --- projects/mtg/src/WResourceManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/mtg/src/WResourceManager.cpp b/projects/mtg/src/WResourceManager.cpp index 8a8cc628e..4240df09f 100644 --- a/projects/mtg/src/WResourceManager.cpp +++ b/projects/mtg/src/WResourceManager.cpp @@ -812,6 +812,7 @@ void ResourceManagerImpl::InitFonts(const std::string& inLang) { mFontFileExtension = kExtension_gbk; LoadWFont("simon", 12, Fonts::MAIN_FONT); + LoadWFont("pspf3", 16, Fonts::MENU_FONT); LoadWFont("f3", 16, Fonts::MENU_FONT); LoadWFont("magic", 16, Fonts::MAGIC_FONT); LoadWFont("smallface", 12, Fonts::SMALLFACE_FONT); @@ -833,7 +834,11 @@ void ResourceManagerImpl::InitFonts(const std::string& inLang) mFontFileExtension = kExtension_png; LoadWFont("simon", 11, Fonts::MAIN_FONT + idOffset); GetWFont(Fonts::MAIN_FONT)->SetTracking(-1); +#if defined (PSP) + LoadWFont("pspf3", 16, Fonts::MENU_FONT + idOffset); +#else LoadWFont("f3", 16, Fonts::MENU_FONT + idOffset); +#endif LoadWFont("magic", 16, Fonts::MAGIC_FONT + idOffset); LoadWFont("smallface", 7, Fonts::SMALLFACE_FONT + idOffset); }