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

Add TrimBox and BleedBox to output PDF #277

Closed
MurakamiShinyu opened this issue Apr 29, 2022 · 1 comment · Fixed by #278
Closed

Add TrimBox and BleedBox to output PDF #277

MurakamiShinyu opened this issue Apr 29, 2022 · 1 comment · Fixed by #278
Assignees

Comments

@MurakamiShinyu
Copy link
Member

from Vivliostyle.js issue:

When crop marks and bleed area are specified by vivliostyle/vivliostyle.js#98, it is desirable that the output PDF has corresponding TrimBox and BleedBox parameters.

This will be resolved in Vivliostyle CLI, that uses PDF-LIB to postprocess PDF and has setTrimBox and setBleedBox methods:

@MurakamiShinyu
Copy link
Member Author

Resolved in #278.

See the related Vivliostyle.js issue and the test results:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant