verovio icon indicating copy to clipboard operation
verovio copied to clipboard

justifyVertically not working on last page

Open riscodes opened this issue 3 months ago • 2 comments

It seems justifyVertically option is not working for last page when using the Javascript library since justifyIncludeLast option was removed in version 2.2.0 (here).

To reproduce the issue, use the full example code from the manual (here) and add justifyVertically: true and breaks: 'line' to the options (also can change pageHeight and pageWidth to a fixed size of 2700 and 2100 and zoom to 30 for easier viewing).

First page rendering works as expected with the correct vertical justification, but when rendering the second page the vertical justification does not work.

page1 page2

Thanks!

riscodes avatar Mar 21 '24 19:03 riscodes