#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:
@@ -812,6 +812,7 @@ void ResourceManagerImpl::InitFonts(const std::string& inLang)
|
|||||||
{
|
{
|
||||||
mFontFileExtension = kExtension_gbk;
|
mFontFileExtension = kExtension_gbk;
|
||||||
LoadWFont("simon", 12, Fonts::MAIN_FONT);
|
LoadWFont("simon", 12, Fonts::MAIN_FONT);
|
||||||
|
LoadWFont("pspf3", 16, Fonts::MENU_FONT);
|
||||||
LoadWFont("f3", 16, Fonts::MENU_FONT);
|
LoadWFont("f3", 16, Fonts::MENU_FONT);
|
||||||
LoadWFont("magic", 16, Fonts::MAGIC_FONT);
|
LoadWFont("magic", 16, Fonts::MAGIC_FONT);
|
||||||
LoadWFont("smallface", 12, Fonts::SMALLFACE_FONT);
|
LoadWFont("smallface", 12, Fonts::SMALLFACE_FONT);
|
||||||
@@ -833,7 +834,11 @@ void ResourceManagerImpl::InitFonts(const std::string& inLang)
|
|||||||
mFontFileExtension = kExtension_png;
|
mFontFileExtension = kExtension_png;
|
||||||
LoadWFont("simon", 11, Fonts::MAIN_FONT + idOffset);
|
LoadWFont("simon", 11, Fonts::MAIN_FONT + idOffset);
|
||||||
GetWFont(Fonts::MAIN_FONT)->SetTracking(-1);
|
GetWFont(Fonts::MAIN_FONT)->SetTracking(-1);
|
||||||
|
#if defined (PSP)
|
||||||
|
LoadWFont("pspf3", 16, Fonts::MENU_FONT + idOffset);
|
||||||
|
#else
|
||||||
LoadWFont("f3", 16, Fonts::MENU_FONT + idOffset);
|
LoadWFont("f3", 16, Fonts::MENU_FONT + idOffset);
|
||||||
|
#endif
|
||||||
LoadWFont("magic", 16, Fonts::MAGIC_FONT + idOffset);
|
LoadWFont("magic", 16, Fonts::MAGIC_FONT + idOffset);
|
||||||
LoadWFont("smallface", 7, Fonts::SMALLFACE_FONT + idOffset);
|
LoadWFont("smallface", 7, Fonts::SMALLFACE_FONT + idOffset);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user