• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChordPro formatting: missing line
#1
When I import new ChordPro files, "sometimes" a line is missing.
If I notice that and play around with font sizes I can easily make it visible again.
But it needs to be aware that something is missing. It should NEVER happen that a line is just lost.


Attached Files Thumbnail(s)
       
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#2
That's pretty unusual. I'll have to see if I can reproduce that.
Reply
#3
Which additional info could be helpful? This happens not akways, but every now and then, with different songs.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#4
If there is a particular file that, when imported, always cuts off a particular line, that would be really helpful to have (including the font sizes used).

Thanks,
Mike
Reply
#5
Here's the file that showed that issue again. I can reproduce the behaviour by importing it again.
"Auto-Size Font" calculates
Title Size: 28
Meta Size, Lyric Size, Chord Size: 21
"Show Next Song": Always with "Text Size": 24
When I reduce Meta Size, Lyric Size, Chord Size to 19 (with 20 it is still missin), the missing line is shown, but the white empty space at the bottom is too wide, see screenshot.


Attached Files Thumbnail(s)
   

.pro   GreatPretender.pro (Size: 1.16 KB / Downloads: 2)
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#6
I believe I have a fix in place for this now. I'd love if you can check it after the next update though because my tablet screen size is different enough that I wasn't able to reproduce the problem the exact same way you were.
Reply
#7
This issue still happens sometimes. Next time I post another example.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#8
There are some important changes in the next update, so I'll be curious to see if they help with this.
Reply
#9
The behaviour has changed but the issues are not fixed.

The attached SweetGeorgiaBrown2 is  a reproducible example for both the wrong linebreak and the missing line.
The only difference between the two ChordPro files is just one additional linebreak, the text file settings are identical.


Attached Files Thumbnail(s)
       

.pro   SweetGeorgiaBrown1.pro (Size: 1.33 KB / Downloads: 1)
.pro   SweetGeorgiaBrown2.pro (Size: 1.33 KB / Downloads: 2)
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#10
I have located the bugs causing both issues and have fixes in place now. Thanks for helping me track those down. If you need or want an early release containing this fix (so you can test it out), let me know.

Mike
Reply
#11
Impressingly fast - thank you very much.
For my personal use it is not urgent to get a pre-release. But if you want me to test the fix before you release the next version I can do that end of next week.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#12
The missing line is back again in V2.0.5 on Android. Thanks for fixing that.

The line breaks are still not OK. With unchanged settings the highlighted (B1) would fit nicely to the right of "Brown", the line break is not necessary, the G chord should be placed better above the 'o' of Brown, see Textsize25.png
When I increase only the text size by one the result is even more strange: the G chord loses the connection to the lyrics completely, 'Brown' is moved unnecessarily to the next line, see Textsize26.png


Attached Files Thumbnail(s)
       
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#13
On Win10 the rendering is completely spoiled, the second and the third page seem to be rendered on top of each other, see attached picture.


Attached Files Thumbnail(s)
   
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply
#14
Thanks for reporting those issues. I had to change my design a little bit because some assumptions were made in the code that were incorrect, but it all seems to render correctly now. 

Mike
Reply
#15
Thanks Mike, the rendering issue on Win10 is fixed.
On Android two issues are left:
1.) After the line break that is added by MSP the horizontal position of the chords is not correct any more. The G chord in Textsize25-Chordsize25.png should be placed above the 'o' of Brown as marked.
Lyric Size is 25, Chord Size is 25 Bold.
2.) With Lyric Size 26, Chord Size 25 Bold the G chord is not detected as chord at all, it is displayed together with its enclosing brackets as lyrics. See Textsize26-Chordsize25.png


Attached Files Thumbnail(s)
       
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply




Users browsing this thread:
2 Guest(s)


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