Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by malle - 2005-07-12
Last edited by linusnielsen - 2005-08-23

FS#2576 - Enable multiple align tags in wps

This patch enables the usage of multiple alignment tags
iin one line in wps.
The tags need to be in the order left - center - right
to work correctly.
If aligned strings overlap, they are merged.
Test wps files for default font (needed of overlaps):

align.wps:

default is left
%al(l)
%ac© %ar® %al(l)%ac©%ar® %t1%al(l);%t1%ac©;%t1%ar®

align_sanity.wps:

%al(l)%ac©%ar® %al(lllll)%ac(cccc)%ar® %al(l)%ac(cccc)%ar(rrrrr)
%s%al(lllll)%ac(ccccc)%ar(rrrrr)
%s%al(llllllll)%ar(rrrrrrrr)

Closed by  linusnielsen
2005-08-23 10:32
Reason for closing:  Accepted
Anonymous Submitter commented on 2005-08-04 08:05

URGENT - this stops my %s working!!!

malle commented on 2005-08-04 08:38

Could you be a little more specific please?
What .wps file, what font, what player model?

Anonymous Submitter commented on 2005-08-04 08:45

iRiver H120
Custom Made WPS File:

%x0|hshah.bmp|0|0| %bl
%ar%?mp<Playing|%?mu<Paused|%?mw<F Forward|%?mb<F Back»»

   %pv

%ac%s%?ia<%ia|%d1>

%ac%s%?it<%it|%fn>

%pb
%al%pc %ar%pt

The %s doesn’t work in the middle two lines… I also tried
putting %s before the %ac and still it doesn’t work.

I am using xtal-14 font!

malle commented on 2005-08-04 13:36

updated patch fixes bug in scrolling lines.

malle commented on 2005-08-16 09:45

Updated for latest CVS version and added more comments

Can anyone tell my why this shouldn’t be committed before
the freeze?

Are there any bugs or design problems?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing