Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Plugins
  • Assigned To
    tomers
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Strife89 - 2010-04-07
Last edited by tomers - 2010-04-08

FS#11185 - Text viewer returns div by 0 if font is missing, renamed or corrupted

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

Closed by  tomers
2010-04-08 21:56
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Fixed in r25544.

Corrected category.

amr commented on 2010-04-07 20:51

After the latest update r25519, there is no exceptions now that were mentioned in  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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing