1
0
Fork 0
forked from len0rd/rockbox

Increase MAXUSERFONTS to 12.

In the modern everything-can-be-skinned world, themes are beginning
to hit the limit of 8 fonts (which includes sysfont). Increasing this
to 12 will allow some headroom, at the cost of a bit more RAM usage
(about 20 bytes per extra possible font, so about 80 bytes total here)

Change-Id: Iddf4374b7ccf92b400614a7309bf3d2147ba98ab
This commit is contained in:
Frank Gevaerts 2013-04-01 17:28:17 +02:00
parent 9f242e7be4
commit f8d36b5baa

View file

@ -51,7 +51,7 @@ enum {
FONT_SYSFIXED = -1, /* system fixed pitch font*/
FONT_FIRSTUSERFONT = 0, /* first id for the user fonts */
};
#define MAXUSERFONTS 8
#define MAXUSERFONTS 12
/* SYSFONT, FONT_UI, FONT_UI_REMOTE + MAXUSERFONTS fonts in skins */
#define MAXFONTS (FONT_FIRSTUSERFONT + MAXUSERFONTS)