Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Deprecated: Function create_function() is deprecated in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/rockbox.org/flyspray/adodb/adodb.inc.php on line 845 Deprecated: Function create_function() is deprecated in /sites/rockbox.org/flyspray/includes/class.user.php on line 111 FS#6615 : Fonts not saved to the config.cfg when path is too long

Rockbox

Tasklist

FS#6615 - Fonts not saved to the config.cfg when path is too long

Attached to Project: Rockbox
Opened by Marianne Arnold (pixelma) - Friday, 02 February 2007, 19:37 GMT
Task Type Bugs
Category Settings
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I found this bug while trying to find out why someone else had problems with his/her chosen Sazanami-Mincho-Regular-xx.fnt doesn't get saved and he/she would have to choose it again after a reboot. My guess was that the path was too long so I tried to shorten the font name.
As soon as the whole path was only 40 characters long it worked as expected:
"Sazanami-Mincho-R-10.fnt" led to a correctly saved
"font: /.rockbox/fonts/Sazanami-Mincho-R-10.fnt" in the config file - any longer font name fails.
This task depends upon

Closed by  Marianne Arnold (pixelma)
Saturday, 03 February 2007, 10:54 GMT
Reason for closing:  Fixed
Comment by Marianne Arnold (pixelma) - Friday, 02 February 2007, 22:40 GMT
Ok - please ignore! I figured it out myself and a commit will follow.
Sorry for the hassle it was a bit unexpected that the fix was this easy...

Loading...