From f8d36b5baab7bc60b2d150ff451e28c12b77bb96 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Mon, 1 Apr 2013 17:28:17 +0200 Subject: 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 --- firmware/export/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/font.h') diff --git a/firmware/export/font.h b/firmware/export/font.h index 1e50faa6cf..ed003f220a 100644 --- a/firmware/export/font.h +++ b/firmware/export/font.h @@ -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) -- cgit v1.2.3