Skip to content
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

Improve justification for last page / single pages #3834

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

brdvd
Copy link
Contributor

@brdvd brdvd commented Oct 17, 2024

This MR improves the justification of the last page, particularly if there is just a single page.

Instead of scaling the --justification-max-vertical ratio by the number of systems on the last page over the number of systems on the page before (which just works for at least two pages), we scale by the used drawing height over the page drawing height.

This further refines the changes in #3821 . Single system example with --justify-vertically:

Before After
before after

@lpugin lpugin merged commit 696edac into rism-digital:develop Oct 18, 2024
5 checks passed
@brdvd brdvd deleted the feat/justification-last-page branch October 19, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants