FS#5376 - Dice: 'Total' missing when using large fonts

Attached to Project: Rockbox
Opened by Assimalyst (assimalyst) - Wednesday, 17 May 2006, 18:08 GMT
Last edited by Kévin Ferrare (TiMiD) - Friday, 26 October 2007, 16:51 GMT
Task Type Bugs
Category Plugins
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


When using large fonts (i.e. Chicago 12) and more than 6 dice on the dice plugin, the 'total' line is displayed off the bottom of the screen.

This is the case for the H1XX, possibly others.
This task depends upon

Closed by  Kévin Ferrare (TiMiD)
Friday, 26 October 2007, 16:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed it in svn by making the total line scroll and reducing the number of spaces before the number
Comment by Jonas Häggqvist (rasher) - Friday, 02 June 2006, 00:49 GMT
Not a real fix, but this patch switches to the builtin font if it's not possible to squeeze 10 lines of the current font onto the display.
Comment by Alexander Spyridakis (xaviergr) - Friday, 02 June 2006, 13:16 GMT
Right now I am doing a dice rework to adapt it for all targets in a more friendly way.

My idea is to make it dynamically set the output text, and fill up the screen on big targets with bitmaps.
Comment by Jonas Häggqvist (rasher) - Friday, 02 June 2006, 16:11 GMT
That's obviuosly better. My patch was just meant as a stop-gap measure if nothing else appeared.
Comment by Tom Ross (midgey34) - Friday, 03 August 2007, 05:33 GMT
Tested on latest SVN (r14152) and the issue seemed to be fixed for fonts similarly sized to Chicago-12 (e.g. Nimbus 13). However, it is still an issue on the remote. When using really large fonts (e.g. ter-u32b), it becomes impossible to seem the total on either the main screen of the remote when rolling a large number of dice.