-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
BUG: Let Page.scale also scale the crop-/trim-/bleed-/artbox #1066
Conversation
I'm unclear if all of the other boxes should be scaled as well. I think so. Is there any reason not to do tha? |
Codecov Report
@@ Coverage Diff @@
## main #1066 +/- ##
==========================================
+ Coverage 90.86% 90.87% +0.01%
==========================================
Files 24 24
Lines 4508 4514 +6
Branches 920 920
==========================================
+ Hits 4096 4102 +6
Misses 271 271
Partials 141 141
Continue to review full report at Codecov.
|
5db7d0a
to
ec43342
Compare
Closes #272 Co-authored-by: Brian Painter <[email protected]>
New Features (ENH): - Add PageObject._get_fonts (#1083) - Add support for indexed color spaces / BitsPerComponent for decoding PNGs (#1067) Performance Improvements (PI): - Use iterative DFS in PdfWriter._sweep_indirect_references (#1072) Bug Fixes (BUG): - Let Page.scale also scale the crop-/trim-/bleed-/artbox (#1066) - Column default for CCITTFaxDecode (#1079) Robustness (ROB): - Guard against None-value in _get_outlines (#1060) Documentation (DOC): - Stamps and watermarks (#1082) - OCR vs PDF text extraction (#1081) - Python Version support - Formatting of CHANGELOG Developer Experience (DEV): - Cache downloaded files (#1070) - Speed-up for CI (#1069) Maintenance (MAINT): - Set page.rotate(angle: int) (#1092) - Issue #416 was fixed by #1015 (#1078) Testing (TST): - Image extraction (#1080) - Image extraction (#1077) Code Style (STY): - Apply black - Typo in Changelog Full Changelog: 2.4.2...2.4.3
@MartinThoma this looks like a good improvement. I'm not an expert on PDFs and the different boxes, but I used this guide previously to try and understand them: https://www.prepressure.com/pdf/basics/page-boxes |
Closes #272