10-18-2024, 04:01 PM
Very little code was changed outside of adding support for chord grids and abc sections. I certainly didn't make any changes specifically regarding [|]. I did change some of the chord processing to support lowercase chords, but that wouldn't have any impact on something that isn't a chord like [|].
With your specific test, in the first example, the [|] and [F] are side-by-side, so the code is going to try to line up the [|] and the [F] with the 'l' in lyrics. The space that is being inserted is expected to make room for both characters, although it might be a little larger than expected (I'll have to check this, but it's the same on Android). In the second example, you have left no space at all between the lyrics, so MobileSheets sees that the [|] should be between 'e' and 'l' in thelyrics (it will be joined because there is no space) and [F] should also be between 'e' and 'l'. So it tries to jam them in the middle of the word, but '|' and 'F' together is wider than a single character, so it inserts a dash to space things out to make room for the chords so that things line up properly. I don't think something is quite right with the measurement for inserting the dash/line though, because if you changed it to [Longword][|] just as an example, it will make the line far longer than it needs to be. This works perfectly fine on Android, so it appears to be a Windows-only issue.
I just tested with 3.8.43, and it renders identically to 3.9.3. So nothing has changed in this regard.
Mike
With your specific test, in the first example, the [|] and [F] are side-by-side, so the code is going to try to line up the [|] and the [F] with the 'l' in lyrics. The space that is being inserted is expected to make room for both characters, although it might be a little larger than expected (I'll have to check this, but it's the same on Android). In the second example, you have left no space at all between the lyrics, so MobileSheets sees that the [|] should be between 'e' and 'l' in thelyrics (it will be joined because there is no space) and [F] should also be between 'e' and 'l'. So it tries to jam them in the middle of the word, but '|' and 'F' together is wider than a single character, so it inserts a dash to space things out to make room for the chords so that things line up properly. I don't think something is quite right with the measurement for inserting the dash/line though, because if you changed it to [Longword][|] just as an example, it will make the line far longer than it needs to be. This works perfectly fine on Android, so it appears to be a Windows-only issue.
I just tested with 3.8.43, and it renders identically to 3.9.3. So nothing has changed in this regard.
Mike