While retesting earlier bug reports I came across a ChordPro file where the integrated ABC section is not displayed on my Android tablet and on my Boox eInk device.
It is shown on my Win11 laptop. All with 3.9.17. It is also shown on my detachable with Win10 and MobileSheets 3.9.15.
I started removing lines in MobileSheets' text editor. When I close the editor and return to song display, the chord grid section is missing and the ABC section is closed. After closing and reopening the song, the chord grid is back and the ABC is missing again.
03-18-2025, 12:37 AM (This post was last modified: 03-18-2025, 12:48 AM by itsme.)
the line
%%vocalfont Helvetica 18
was the culprit
It's just about the size, with
%%vocalfont Helvetica 14
it's OK, with
%%vocalfont Helvetica 16
the issue occurs.
So, just guessing, increasing vocalfont makes the ABC section too big / wide / whatever, it doesn't fit onto the page and this is why it isn't shown at all.
This can happen anyway, I came across that effect before, but can't remember when and where. It's just ugly and inconvenient that there's no feedback or error message. If there could be an error message like 'ABC section too wide / high / large' or the like, it would be good hint what I need to change to avoid that.
This post should better be in 'ChordPro and ABC Files', it's probably not Android specific. I already moved posts, but can't find it in the moment how I did that.
I've moved the thread. I will see if I can improve the handling of ABC sections that error out. I may not always be able to provide information on what the error is - I'll have to see what is available to me through abc2svg.