-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
justifyVertically not working on last page #3631
Comments
This could potentially be related to the option:
Although the last page seems to be about 0.50 full which is more than the default value of 0.30. Or maybe 0.30 means that the score has to be at least 0.70 of the page height. |
Thank you for responding so quickly. Yes, I thought the same, but after trying many different values and combinations for all the justification options (justificationStaff, justificationSystem, justificationMaxVertical, etc) I can never get last page vertically justified. I've also tried with other scores but I get the same result. |
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.
Thanks!
The text was updated successfully, but these errors were encountered: