diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2013-04-01 17:28:17 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2013-04-01 17:30:38 +0200 |
commit | f8d36b5baab7bc60b2d150ff451e28c12b77bb96 (patch) | |
tree | b0b9e1eda01b82de7cd4102bfd0797649b6944d5 /firmware/export/font.h | |
parent | 9f242e7be4f301e965d0bf35908a9bcaacdfdcae (diff) | |
download | rockbox-f8d36b5baab7bc60b2d150ff451e28c12b77bb96.tar.gz rockbox-f8d36b5baab7bc60b2d150ff451e28c12b77bb96.zip |
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
Diffstat (limited to 'firmware/export/font.h')
-rw-r--r-- | firmware/export/font.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
51 | FONT_SYSFIXED = -1, /* system fixed pitch font*/ | 51 | FONT_SYSFIXED = -1, /* system fixed pitch font*/ |
52 | FONT_FIRSTUSERFONT = 0, /* first id for the user fonts */ | 52 | FONT_FIRSTUSERFONT = 0, /* first id for the user fonts */ |
53 | }; | 53 | }; |
54 | #define MAXUSERFONTS 8 | 54 | #define MAXUSERFONTS 12 |
55 | 55 | ||
56 | /* SYSFONT, FONT_UI, FONT_UI_REMOTE + MAXUSERFONTS fonts in skins */ | 56 | /* SYSFONT, FONT_UI, FONT_UI_REMOTE + MAXUSERFONTS fonts in skins */ |
57 | #define MAXFONTS (FONT_FIRSTUSERFONT + MAXUSERFONTS) | 57 | #define MAXFONTS (FONT_FIRSTUSERFONT + MAXUSERFONTS) |