Opensheetmusicdisplay: Music sheet doesn't end at the right end of the line

Created on 30 Jul 2020  Â·  4Comments  Â·  Source: opensheetmusicdisplay/opensheetmusicdisplay

image
↑ 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 :)

All 4 comments

Should work with the PR:

image

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sschmidTU picture sschmidTU  Â·  6Comments

djae88 picture djae88  Â·  4Comments

evanrmurphy picture evanrmurphy  Â·  4Comments

cymhellfire picture cymhellfire  Â·  4Comments

jimutt picture jimutt  Â·  8Comments