Rockbox

Tasklist

FS#12000 - convttf: Make digits equally wide

Attached to Project: Rockbox
Opened by Magnus Holmgren (learman) - Tuesday, 08 March 2011, 20:42 GMT
Last edited by Magnus Holmgren (learman) - Tuesday, 22 March 2011, 19:37 GMT
Task Type Patches
Category Font/charset
Status Closed
Assigned To Magnus Holmgren (learman)
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.8
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch makes convttf make the digits 0 - 9 equally wide, if they seem to be so for the font in question. Works fine for Segoe UI (only font I've tested with so far). Main thing left to do is an option to enable/disable this behavior (and perhaps force it?). Also, there's a debug printf (commented out) in there, that should be removed before commit.
This task depends upon

Closed by  Magnus Holmgren (learman)
Tuesday, 22 March 2011, 19:37 GMT
Reason for closing:  Accepted
Comment by Postolati Maxim (tails_) - Wednesday, 09 March 2011, 06:43 GMT
12k get :D also thanks for patch now timers looks much better
Comment by Magnus Holmgren (learman) - Sunday, 13 March 2011, 13:26 GMT
Added "-w" option to turn off the equally wide digits. Cleaned up the new code a bit. Changed the type of some globals to reduce the number of compiler warnings.

Should be the final version, unless some issues turns up.

Loading...