Index: apps/gui/skin_engine/skin_parser.c =================================================================== --- apps/gui/skin_engine/skin_parser.c (Revision 30701) +++ apps/gui/skin_engine/skin_parser.c (Arbeitskopie) @@ -76,13 +76,6 @@ #define WPS_ERROR_INVALID_PARAM -1 -#if LCD_HEIGHT > 160 -#define SKIN_FONT_SIZE (1024*10) -#else -#define SKIN_FONT_SIZE (1024*3) -#endif -#define GLYPHS_TO_CACHE 256 - static bool isdefault(struct skin_tag_parameter *param) { return param->type == DEFAULT; @@ -1680,8 +1673,9 @@ #ifndef __PCTOOL__ if (skinfonts[font_id-2].glyphs > 0) { - font->id = font_load_ex(path, - font_glyphs_to_bufsize(path, skinfonts[font_id-2].glyphs)); + font->id = font_load(path); + //font->id = font_load_ex(path, + // font_glyphs_to_bufsize(path, skinfonts[font_id-2].glyphs)); } else #endif Index: firmware/font.c =================================================================== --- firmware/font.c (Revision 30701) +++ firmware/font.c (Arbeitskopie) @@ -47,12 +47,12 @@ #ifndef MAX_FONT_SIZE #if LCD_HEIGHT > 64 #if MEMORYSIZE > 2 -#define MAX_FONT_SIZE 60000 +#define MAX_FONT_SIZE (256*1024) #else -#define MAX_FONT_SIZE 10000 +#define MAX_FONT_SIZE (256*1024) #endif #else -#define MAX_FONT_SIZE 4000 +#define MAX_FONT_SIZE (256*1024) #endif #endif