diff --git a/common/font.c b/common/font.c index e108c58..adba38e 100644 --- a/common/font.c +++ b/common/font.c @@ -6,7 +6,7 @@ #ifdef __SWITCH__ #define FONT_FACES_MAX PlSharedFontType_Total #else -#define FONT_FACES_MAX 1 +#define FONT_FACES_MAX 2 #endif static FT_Error s_font_libret=1, s_font_facesret[FONT_FACES_MAX]; @@ -339,8 +339,24 @@ bool fontInitialize(void) } #endif + //These are loaded from "/fonts/.ttf", these are user-supplied. Ideally these should be from plu SharedFont. #ifndef __SWITCH__ - //TODO: How to handle this? Until this is impl'd no font will be displayed for pc-build. + char fontpath[PATH_MAX+1]; + + for (i=0; i