#ifdef psp for the increase res font f3 which is by far the worst looking font on higher res devices.

This commit is contained in:
omegablast2002@yahoo.com
2013-03-27 23:29:18 +00:00
parent b38d6c6bc5
commit 802c970ec3

View File

@@ -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);
}