Rockbox General > Rockbox General Discussion

Theme upload error - validator fails with font error

<< < (2/2)

Flobber:
The skin buffer is used for the parsed skin description, for images and for fonts.  The usage shown in the console by the simulator is before loading fonts.  On the Clips, each fonts requires 3k in the skin buffer (independent of actual fonts size).  The menu font counts, too.

The problem on the Clips is, that the buffer is much too small.  On targets with backdrop image support (color targets), the buffer is much bigger (to hold one backdrop image for each screen [menu, wps, radio, etc] but images are shared if the same).

A patch to increase the skin buffer for monochrome targets was sent to the mailing list but seems to not make it into mainline because it  decreases the cache for audio prefetching by 12K (from i.e. 6.34MB to 6.33MB).

You can slim down your theme by using the default font (it's free), use smaller/less images or make it shorter (less tokens).

sockbox:

--- Quote from: Flobber on July 24, 2010, 03:23:50 PM ---You can slim down your theme by using the default font (it's free), use smaller/less images or make it shorter (less tokens).

--- End quote ---

My theme works and fits in the limited skin buffer of the Clip. The question is why is the theme validator choking on loading fonts when the theme works in the sim and the player.  Is it a bug in the site? or is there a theme limit that the validator uses that is much smaller than what is actually possible in the build.

I understand the limited skin buffer so I've had to be very careful in writing the code for the theme. It works in the sim. It works in the player. It falls well below the skin buffer limit in the sim console, leaving enough room for the included fonts. So I've established that it actually works. Why does the validator choke on it? If it's a bug in the site then I'd like to see this fixed. If it's my theme, then I'll trash it.

Here's my theme:
http://www.megaupload.com/?d=36JT55CD
Try it on the sim and player, then try to upload it.

Bug filed...
http://www.rockbox.org/tracker/task/11500

Navigation

[0] Message Index

[*] Previous page

Go to full version