
↑ OSMD Demo
Music sheet must end at the right end of the line (in common)
but in OSMD, if there's not enough notes or lyrics in the system,
sheet doesn't end at the right end of the line
using newSystemFromXML: true doesn't work when there's no measure anymore in the next line(system)
If making it work even when it's last, will save me a lot!
Thanks :)
Should work with the PR:

You need to set the "stretchLastSystemLine" option to true as in the screenshot. Default is the current behaviour.
PR is merged.
Note that this can also be fixed by a JustifiedMusicSystemBuilder. (justification = blocksatz)
renamed StretchLastSystemLine to stretchLastSystemLine in OSMDOptions (consistency) (though it's uppercase in EngravingRules).
Great work! This saved my day!