Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Font loading + CFGs

Font loading + CFGs

From: Shervin Riahi <shervin_riahi_at_dfci.harvard.edu>
Date: Wed, 2 Jul 2003 17:43:59 -0400

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
properly.

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!

-Sherv

----
Shervin Riahi
Silver Lab/DFCI
SM918
1 Jimmy Fund Way
Boston, MA 02115
(617) 632-5108
http://research.dfci.harvard.edu/silverlab/
Received on 2003-07-02

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy