diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-08-25 14:11:38 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-08-25 14:11:38 +0000 |
commit | faaf431d321f30881ac39342d4cdc2170b922cb6 (patch) | |
tree | 23689929fef19f4d572157e53eeef652057af8e8 /lib/skin_parser/tag_table.c | |
parent | 05d16b1d4e8947b23afc64a52ccfccbf2284d97b (diff) | |
download | rockbox-faaf431d321f30881ac39342d4cdc2170b922cb6.tar.gz rockbox-faaf431d321f30881ac39342d4cdc2170b922cb6.zip |
Accept FS#11567 by Fred Bauer - better memory management for the skin fonts
%Fl now takes an optional 3rd param which is the number of glyphs to cache (default to 256). the smaller the number, the less ram will be used (i.e using 15 for a font which only shown numbers is a good idea)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27882 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/skin_parser/tag_table.c')
-rw-r--r-- | lib/skin_parser/tag_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/skin_parser/tag_table.c b/lib/skin_parser/tag_table.c index 9c0b51dacf..7c5f45e1af 100644 --- a/lib/skin_parser/tag_table.c +++ b/lib/skin_parser/tag_table.c @@ -172,7 +172,7 @@ static const struct tag_info legal_tags[] = { SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY, "xd", "S|[IT]I", 0 }, { SKIN_TOKEN_IMAGE_DISPLAY, "x", "SFII", 0|NOBREAK }, - { SKIN_TOKEN_LOAD_FONT, "Fl" , "IF", 0|NOBREAK }, + { SKIN_TOKEN_LOAD_FONT, "Fl" , "IF|i", 0|NOBREAK }, { SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IIII|ss", 0|NOBREAK }, { SKIN_TOKEN_ALBUMART_DISPLAY, "Cd" , "", SKIN_REFRESH_STATIC }, { SKIN_TOKEN_ALBUMART_FOUND, "C" , "", SKIN_REFRESH_STATIC }, |