From 0f820d6ed7439ccf9144fd045d1840dfe5562d9d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 3 Aug 2005 21:31:51 +0000 Subject: Increased maximum file size for models with LCD height larger than 64 to 10000 bytes. Also adjusted the buildzip script to dynamically figure out the maximum buffer size for the particular build that the zip is made for. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7280 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/font.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'firmware') diff --git a/firmware/export/font.h b/firmware/export/font.h index 01751add5c..beb63470bf 100644 --- a/firmware/export/font.h +++ b/firmware/export/font.h @@ -26,9 +26,13 @@ #if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) -/* max static loadable fonts buffer*/ +/* max static loadable font buffer size */ #ifndef MAX_FONT_SIZE -#define MAX_FONT_SIZE 4000 /* max total fontsize allocation*/ +#if LCD_HEIGHT > 64 +#define MAX_FONT_SIZE 10000 +#else +#define MAX_FONT_SIZE 4000 +#endif #endif /* -- cgit