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

Fix empty output regression #2198

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Conversation

alerque
Copy link
Member

@alerque alerque commented Dec 12, 2024

In an attempt to not throw errors when closing a PDF we couldn't actually start, I busted the ability to generate empty PDFs. Notably <sile></sile would generate but <sile><nofolios /></sile> would not because there is no output on the page and hence it never gets initialized until it's time to finish. This makes a distinction between needing to possible close open PDF handles and abort after an error and successfully running all processing and outputting a blank canvas if called for.

…efore processing even starts"

This reverts commit d38ff03.
@alerque alerque added this to the v0.15.9 milestone Dec 12, 2024
@alerque alerque added the bug Software bug issue label Dec 13, 2024
@alerque alerque self-assigned this Dec 13, 2024
@alerque alerque merged commit ed6a745 into sile-typesetter:master Dec 13, 2024
22 checks passed
@alerque alerque deleted the empty-not-error branch December 13, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software bug issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant