This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11185 - Text viewer returns div by 0 if font is missing, renamed or corrupted
Attached to Project:
Rockbox
Opened by Michael Carr (Strife89) - Wednesday, 07 April 2010, 18:54 GMT+2
Last edited by Tomer Shalev (tomers) - Thursday, 08 April 2010, 23:56 GMT+2
Opened by Michael Carr (Strife89) - Wednesday, 07 April 2010, 18:54 GMT+2
Last edited by Tomer Shalev (tomers) - Thursday, 08 April 2010, 23:56 GMT+2
|
DetailsSteps to reproduce:
1) Start the text viewer in the normal way (i.e., open a text file) and change the viewing font. 2) Exit the text viewer. 3) Move, remove or rename the font you used in /.rockbox/fonts 4) Open the text viewer again. It will return "font not found" and then crash with a divide by zero. |
This task depends upon
Closed by Tomer Shalev (tomers)
Thursday, 08 April 2010, 23:56 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r25544.
Thursday, 08 April 2010, 23:56 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r25544.
FS#11169.., but still the viewer reads a wrong font name without neither loading a default font, nor allowing to modify font settings.I constantly get: "Can't open font: /.rockbox/fonts/6-GNU-Unifont.fnt" which should be "06-GN...fnt" not "6-GN...fnt"
Trying to delete viewer_file.dat from rocks/viewers to let the viewer create a fresh new setting file caused the "Stack Smashing" error and only viewer_file.tmp was created.