This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#4836 - Font scaling in wps
Attached to Project:
Rockbox
Opened by Mark Arigo (lowlight) - Wednesday, 15 March 2006, 17:46 GMT+2
Last edited by Peter D'Hoye (petur) - Friday, 03 August 2007, 22:42 GMT+2
Opened by Mark Arigo (lowlight) - Wednesday, 15 March 2006, 17:46 GMT+2
Last edited by Peter D'Hoye (petur) - Friday, 03 August 2007, 22:42 GMT+2
|
DetailsThis is support for simple font scaling on the wps screen.
I've posted some screenshots in the forum: http://forums.rockbox.org/index.php?topic=2856.0 By simple font scaling, I mean that the font characters are just increased by a factor of 2 or 3 (or more). No anti-aliasing is done, so most of the font's will look pixelated when displayed larger than their native size. I've only tested this on the H120/140 + remote, so this only patches the lcd code for that platform. I only changed generic code for the lcds, hence, I think the code should be easily portable to the other targets. To use font scaling on the wps screen, use the syntax %h2 or %h3 to increase the font size by a factor of 2 or 3. This affects all the text on that line (you can't scale just part of the line). IMPORTANT: if you use %h2, leave the next line empty in the wps file. If you use %h3, leave the next 2 lines blank. (This is necessary because the wps and lcd code is line-based.) Also, you can scroll scaled text. I'll be the first to admit that scaling most of the fonts does not produce a nice effect. However, the "snap" font does look good (see the screen shots). I also don't know if (or how much) the font scaling affects performance. Let me know what you think. |
This task depends upon
Closed by Peter D'Hoye (petur)
Friday, 03 August 2007, 22:42 GMT+2
Reason for closing: Rejected
Additional comments about closing: waiting for multi-font....
Friday, 03 August 2007, 22:42 GMT+2
Reason for closing: Rejected
Additional comments about closing: waiting for multi-font....
Thanks for your work on this stuff!
like preloading a small and a large font to show all the "unnecessary" detail in the small font (codex, size etc.) and the important info (song title) in a bigger font?