Rockbox

Tasklist

FS#5901 - Multiple user fonts for using in WPS

Attached to Project: Rockbox
Opened by P.I.Julius (pijulius) - Tuesday, 29 August 2006, 15:58 GMT
Task Type Patches
Category Themes
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This patch adds 7 user fonts to the multifont.patch so you can use them in your wps by using the customline.patch
The lines in the wps.cfg look like these:
userfont1: /.rockbox/fonts/helvR10.fnt
userfont2: /.rockbox/fonts/helvR12.fnt
userfont3: /.rockbox/fonts/helvR14.fnt
userfont4: /.rockbox/fonts/helvR18.fnt
...
and so on

And now you can use these fonts in your wps by specifying the font by it's number:
%e|11|219|30|1|B8C8E1|%alMusic
where 1 = userfont1

NOTE1: This patch depends on the multifont.patch which is not updated to the latest cvs, so I attached the syncronized one too.

Best,
Julius
This task depends upon

Closed by  Rani Hod (RaeNye)
Monday, 18 September 2006, 17:07 GMT
Reason for closing:  Duplicate
Additional comments about closing:  dup of  FS#4733 
Comment by Paul Louden (darkkone) - Tuesday, 29 August 2006, 18:40 GMT
Out of curiosity, why didn't you attach the updated multifont to the multifont patch tracker entry, where it belongs?
Comment by P.I.Julius (pijulius) - Tuesday, 29 August 2006, 18:58 GMT
To tell you the truth I have no idea :) but I'm pretty sure it was because I'm to tired and I totally forgot it, but anyway, thanks for the notification, I added there too now.
Comment by Kyle P. Vincent (KyleV) - Thursday, 31 August 2006, 04:50 GMT
Sadly, CVS always keeps on updating.
The updated-to-CVS multifont-20060828.patch is out of date again.

But, nice new line up of WPS related patches.
Comment by Kyle P. Vincent (KyleV) - Thursday, 31 August 2006, 04:56 GMT
Actually i don't think its out of date. :~(
Just checked 'patch --binary -p0 < custom_display_width.patch' and 'patch --binary -p0 < multifont-20060828.patch' (i applied them in that order), and it appears that the former causes a conflict with the latter, and therefore creates a reject file for the latter.
(Hope i wasn't confusing there.)
Comment by P.I.Julius (pijulius) - Thursday, 31 August 2006, 07:35 GMT
Yeah, it shouldn't be outdated, the only thing is that I didn't make the multifont.patch, multifont-userfonts.patch to depend on the custom_display_width.patch because these patches do a whole different thing, so they shouldn't depend on eachother.

Anyway, the problems is pretty easy to fix, just apply the rejected change manually, it should be only a few lines of code.

Loading...