Skip to content

Fix for webpdf print margins#1907

Merged
blink1073 merged 4 commits intojupyter:mainfrom
JWock82:main
Nov 11, 2022
Merged

Fix for webpdf print margins#1907
blink1073 merged 4 commits intojupyter:mainfrom
JWock82:main

Conversation

@JWock82
Copy link
Copy Markdown
Contributor

@JWock82 JWock82 commented Nov 9, 2022

This is a fix for the webpdf print margins. It adds 0.5 inch margins to each printed page. This fixes Issue #1660

JWock82 and others added 4 commits November 9, 2022 13:27
When converting to webpdf the margins on the resulting printout are tiny. After a page break there are no margins at all. This code fixes that by placing a 0.5 inch margin on all sides of the printed page. This fixes issue jupyter#1660.
The margin for the top of the first page was being set twice. Removed the redundant portion.
Fix for webpdf print margins
@blink1073 blink1073 added the bug label Nov 11, 2022
Copy link
Copy Markdown
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blink1073
Copy link
Copy Markdown
Contributor

I'll make a release early next week.

@blink1073 blink1073 merged commit 34b81cd into jupyter:main Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants