some objects are clipped at page border at PDF export

Asked by Michael Ots

I have a problem with exporting to PDF; my drawing has a page bleed which extends the set page size of the documents properties. When I export the drawing to PDF some objects are clipped at the page edge so they dont extend into the bleed zone. Other objects export just fine with a bleed. Any clues to why this is and how to solve it?

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Ots
Solved:
Last query:
Last reply:
Revision history for this message
Michael Ots (topdo9) said :
#1
Revision history for this message
Hachmann (marenhachmann) said :
#2

You can either change the page size to include the bleed or import your drawing into a dtp software like Scribus that supports bleed.

Inkscape does not offer any settings for bleed, pdf export in Inkscape exports the page area.

Revision history for this message
Michael Ots (topdo9) said :
#3

Have you seen the images in the link? Why is one object cropped and the other not?

Revision history for this message
Hachmann (marenhachmann) said :
#4

Honestly, I'm not sure I understand which image is which, and what the doodles on them mean... I find it weird that on the right image, there is actually more to see of the background photo with the lawn than on the left image - if the right one is a screenshot from the pdf.

Make sure that in the export dialog, you select the correct option (page size or selected object's size).

If then it still doesn't work correctly, please rather upload the original SVG image (or a file that exposes the same issue), a screenshot of the selected export options, and the full output pdf, as well as your Inkscape version and operating system.

Revision history for this message
Michael Ots (topdo9) said :
#5

Left is the SVG where the arced object is shown with bleed, right is the PDF export without bleed for the arced object. When I select object size the PDF size is larger to fit the object outside of the page, but the bleed still doesn't show: https://drive.google.com/open?id=0B0OMiWqMcCeSUC1NNGpMTnU5c2s

Please find files here: https://drive.google.com/open?id=0B0OMiWqMcCeSXzlBUThBamtvcVU

Inkscape: 0.92
OS: windows 10 Pro v.1703

Revision history for this message
TylerDurden (8thrule) said :
#6

Looks like the filtered objects do not respect the bleed setting in the PDF export dialog.

I'd set the page size in the document properties panel to the bleed line (using the rectangle 3932 in the "crop box" layer) before saving as pdf.

TD

Revision history for this message
Hachmann (marenhachmann) said :
#7

Hmmm. I'm still not sure what exactly you have been doing, or why there are those objects in layer test visible, or how you exported it.

Edit: I see, now. There actually *is* a setting for bleed/margin. Never noticed that...

The reason for the different cut-off is the filter on the object. It counts into the object's size somehow (probably shouldn't, though).

Anyway:

What I would do is:
Option 1:
- fit page to include bleed
- make layer test invisible
- select nothing
- File > Save copy...
- Enter file name for a pdf
- Hit save
- In the dialog, select a high dpi value for filter effect rasterization (e.g. 600), else the shadows will look broken
- select to export 'page area'
- set bleed to 0

Option 2:
- do not include bleed in page
- make layer test invisible
- select nothing
- File > Save copy...
- Enter file name for a pdf
- Hit save
- In the dialog, select a high dpi value for filter effect rasterization (e.g. 600), else the shadows will look broken
- select to export 'page area'
- set bleed to 1,5 (I think)

Clipping the filtered object does not seem to help.
I've also tried editing the filter's coordinates, and this also doesn't seem to help.

Perhaps making a bitmap copy of the filtered object could help....

Maybe this is worth a bug report - I can't find a good reason why the clipping / filter cut-off shouldn't work as expected.

Revision history for this message
Hachmann (marenhachmann) said :
#8

(we seem to have answered at the same time, it seems, TD :-) )

Revision history for this message
Michael Ots (topdo9) said :
#9

Changing the page size fixed it indeed. Luckily the function "Resize page to drawing or selection" prevented I had to move all objects to get them within the page after resize. Would be nice if it "just worked", do you think it will be picked up if I report it as a bug?

Revision history for this message
Hachmann (marenhachmann) said :
#10

It could even be that there is a bug report for 'filtered objects being cut off incorrectly on pdf export' (or similar) already.

Currently, I think the probability for someone working on this is low, but it is still important that known issues are in the tracker, so other affected users can find the info, and any developer who wants to work on this has the option to know about it.