• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transpose error after page break
#1
Load the attached song and transpose it from E -> G.

The chords immedeately following a page break are transposed twice. This happens for explicit chords (2nd screenshot) as well as for the chords from a repeated chorus (1st screenshot).

   
   


Attached Files
.cho   038_I'll_Tell_Me_Ma_2.cho (Size: 1.73 KB / Downloads: 1)
Johan
http://www.johanvromans.nlhttp://www.howsagoin.nlhttp://www.hetgeluidvanseptember.nl
Samsung Galaxy Note 2 (N8010) 10.1", Android 7.1.2 (LineageOS), AirTurn Duo.
Asus Zenpad (Z300M) 10.1", Android 7.0 (backup tablet).
Samsung A3 (SM-A320FL), Android 7.0 (emergency).
Reply
#2
Thanks - I must have broken that in one of the last updates.

Mike
Reply
#3
Do you pre-render a song line, and if it doesn't seem to fit, render it again on the next page?
Johan
http://www.johanvromans.nlhttp://www.howsagoin.nlhttp://www.hetgeluidvanseptember.nl
Samsung Galaxy Note 2 (N8010) 10.1", Android 7.1.2 (LineageOS), AirTurn Duo.
Asus Zenpad (Z300M) 10.1", Android 7.0 (backup tablet).
Samsung A3 (SM-A320FL), Android 7.0 (emergency).
Reply
#4
I don't pre-render the song line, but I do use a Paint object to measure the width of the line before breaking/splitting it. In the latest version, I now perform all of the transposing on the line before any additional processing so that the measures are accurate. The relocation of this logic is most likely why you are seeing the issue with the page break, because it's probably transposing certain lines twice.

Mike
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.