-
Notifications
You must be signed in to change notification settings - Fork 201
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
Support page extension (negative crop) #267
Comments
Well I'm not that sure we need to keep all boxes. May be we could just remove all of them and keep only the |
I think from the PDF side that should actually be doable:
Nooo, that would be an unclean solution. Ignoring an existing CropBox may lead to unexpected results. I believe that maintaining the existing boxes should not really increase complexity, though I have to admit I don't know about your model requirements. |
Since page splitting is realised with (positive) crops, the user interface for crops and margins must be separated. Example:
|
Oh yes, right. There's no reason for limiting to either crop or margins. |
When pdfarranger do a crop operation it changes the
MediaBox
of the page. Yet, there are many other boxes in a PDF, particularly theCropBox
which is what PDF viewers actually for display.CropBox
is always smaller or same size asMediaBox
. See https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf page 77.Currently pdfarranger cannot extends pages. Negative values are not supported in the crop dialog, but this is something easy to fix. This is not enough because to extend a page we would need to change both
MediaBox
andCropBox
. I think we can't find a good logic which hide that complicity to the user and work with all kind of PDF.I think it would be nice that pdfarranger support edition of all boxes (
MediaBox
,CropBox
,BleedBox
, ...) as they are in the PDF file. We would just provide unit conversion to millimeter or percentage.I had in mind to remove percentage and keep only millimeters, but percentage is the only one which makes sens when editing multiple pages (thank you to #256). Here we talk about a positive or negative percent of a dimension of a PDF rectangle.
All this would give more flexibility, like for example allow to extend pages or increase/decrease margin.
So the new dialog would contains:
Difficulties:
This is related to #199 (model change, temporary files, ...). Maybe this dialog box should also handle scaling.
The text was updated successfully, but these errors were encountered: