Fix for EPS export area (trunk, 0.91.x)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
su_v |
Bug Description
Current trunk and 0.91.x builds use the PS settings for EPS export (even though the export dialog loads and saves the EPS settings). With new prefs (no export settings for PS), EPS export always exports the page area (using a tight bbox around the page content).
Steps to reproduce:
1) reset Inkscape prefs (rename the current preferences.xml)
2) download attached test case, and run these commands (cli export):
$ inkscape -V
Inkscape 0.91pre3 r13696 (Jan 14 2015)
$ inkscape -f test1.svg -E test1.eps
$ inkscape -f test1.svg -C -E test1-C.eps
$ inkscape -f test1.svg -D -E test1-D.eps
$ grep '%%BoundingBox' test1*.eps
test1-C.
test1-D.
test1.eps:
$
$ inkscape -f test1.svg -P test1.ps
$ inkscape -f test1.svg -C -P test1-C.ps
$ inkscape -f test1.svg -D -P test1-D.ps
$ grep '%%PageBoundingBox' test1*.ps
test1-C.
test1-D.
test1.ps:
3) launch inkscape, open test case and export to PS
(default setting i.e. page area)
4) quit inkscape, repeat step 2
--> same result
5) launch inkscape, open test case and export to PS
(use 'objects size' aka drawing area)
6) quit inkscape, repeat step 2
--> now all EPS exports use drawing area (from the PS export setting)
Same can be reproduced via GUI: EPS export uses PS export area,
even though the export dialog loads and saves the settings separately.
Reproduced on OS X 10.7.5 with Inkscape 0.91pre3 r13696 and 0.91+devel r13850.
AFAICT this is a regression related to the commits for bug #499965.
Attached patch tested successfully on OS X 10.7.5 with 0.91pre3 r13696 and 0.91+devel r13850
Related branches
Changed in inkscape: | |
assignee: | nobody → ~suv (suv-lp) |
importance: | Undecided → Medium |
milestone: | none → 0.92 |
status: | New → In Progress |
description: | updated |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Tested on Windows XP, Inkscape trunk revision 13851.
The patch looks good, but I have had an unexpected result (very probably unrelated to your patch) the first time I exported to EPS. The BB was different that the one from the PS export, but incorrect.
I'll try again later on Crunchbang Waldorf to be sure.