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


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