Rockbox mail archive
Subject: Font loading + CFGs
From: Shervin Riahi (shervin_riahi_at_dfci.harvard.edu)
Hello everyone, once again I would like to deeply thank all the Rockbox
developers and contributors for making such a versatile and useful firmware!
Using today's (7/2) daily build, I decided to make two different CFG files,
one for use in my car
and the other for use when I'm wearing headphones and carrying the device
around by hand. As such, I thought that this would be the best time to
incorporate a large font (courB14.fnt) for CAR.CFG and the default rockbox
font for HEADPHONES.CFG. So far, everything works fine if I load the configs
both when music is and is not playing; fonts get switched, and all my other
settings (WPS, display and sound settings, etc) are also incorporated
If I switch the unit off and turn it back on after having CAR.CFG loaded,
the unit automatically resumes (as I have set in the cfg), but the device
retains all settings EXCEPT for the font...instead, it reverts back to
rockbox_default.fnt (as far as my eye can tell) for the WPS. If I press the
ON button to browse, courtB14.fnt suddenly takes over (no noticable loading
time) and the unit functions normally except that the cursor can get lost
off screen. That is, the device behaves as if there are more lines than are
actually displayed, so the scrolling is not appropriate with the font size.
I have placed both fonts in the .rockbox directory, and if I were to
manually load courB14.fnt by selecting it independently of the cfg file, I
have no problems at all.
Any help would be appreciated :)
Great work again, everyone!
1 Jimmy Fund Way
Boston, MA 02115
Page was last modified "Jan 10 2012" The Rockbox Crew