EPS export does not respect "Bleed/margin (mm)" setting

Bug #1524870 reported by stehpan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Medium
Unassigned

Bug Description

Inkscape 0.91 r13725 on Windows 7 64bit

The "Bleed/margin (mm)" option introduced in Inkscape r11847
http://sourceforge.net/p/inkscape/mailman/message/30024087/
has no effect when eps files are exported. (Or the effect is hard to predict.)

Load .svg file.
EPS export: Save as ... .eps, set "Bleed/margin (mm)" to 20 mm.
compare to
PS export: Save as ... .ps, set "Bleed/margin (mm)" to 20 mm.

PS file has additional margin when opened in ps_view 5.12 (Ghostcript 9.16, Lua 5.1, wxLua2.8.10.0, wxWidgets 2.8.10)
EPS file has no additional margin around the drawing.

This is related to bug #380501 "eps export always sets bounding box to drawing, never to whole canvas", over there is a discussion if the additional whitespace/emptyness is against the EPS spec or not and if the standard should be ignored if it is against the spec.

For a good workflow having a margin in eps files is important.
Currently the "Bleed/margin (mm)" option is useless during eps export.

Proposed fix: override the eps Boundingbox calculated by cairo with Boundingbox+margin.

Would also fix: bug #595821 bug #380501

The attached .eps file was exported with 20 mm "Bleed/margin (mm)" choosing "whole page".

Tags: exporting eps ps
Revision history for this message
stehpan (stehpan) wrote :
Revision history for this message
stehpan (stehpan) wrote :
Revision history for this message
stehpan (stehpan) wrote :
Revision history for this message
stehpan (stehpan) wrote :

Funny things happen if the Inkscape page is smaller than the drawing and the area of the page plus margin is partly larger than the drawing:
The bounding box than neither is the page nor the complete drawing but something in between.
See attached eps file which was exported with 20 mm "Bleed/margin" and the following svg and ps files for reference what should be expected.

Revision history for this message
stehpan (stehpan) wrote :

svg: a small page, smaller than the drawing

Revision history for this message
stehpan (stehpan) wrote :

ps: a small page, whole page with 20 mm "Bleed/margin"
This is how the eps file is expected to look.

stehpan (stehpan)
description: updated
description: updated
jazzynico (jazzynico)
tags: removed: import-export postscript
Changed in inkscape:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.