View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006315 | Scribus | public | 2007-09-30 20:12 | 2007-12-28 09:04 | |
Reporter | Davex34 | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | Windows XP | ||||
Product Version | 1.3.3.9cvs | ||||
Target Version | 1.3.3.10 | Fixed in Version | 1.3.3.10svn | ||
Summary | 0006315: EPS Images shifted in Exported PDF File | ||||
Description | Imported an EPS file to an image frame. Export to PDF. When PDF file is displayed or printed the EPS image is shifted down and to the left. The EPS file was originally created by printing a Word Document using an Postscript printer driver set to output encapsulated postscript files. | ||||
Steps To Reproduce | Create eps file using postscript printer driver set to output EPS files. Open 1 page letter size Scribus file. Create Image frame and get image file, select the eps file. Resize image so it fits the printable area on the page. Adjust frame size so that it fits the text in the EPS file. Optional: draw a box around the image frame as it makes it easer to see the movement of the image in the PDF file. Save Scribus file. Export to PDF. Open PDF file in Acrobat. The image frame is shifted down and to the left cutting off parts of the EPS graphic. | ||||
Additional Information | I have been using scribus for the last year and did not have this issue until I updated to ver 1.3.3.9. A work around is to import the EPS file however memory usage goes way up and exporting becomes more likely to crash scribus. The graphic can be "misplaced" by offsetting the image in scribus to make the PDF file display the image in the correct place. | ||||
Tags | No tags attached. | ||||
Patch | |||||
child of | 0005640 | closed | 1.3.3.10 Release |
2007-09-30 20:12
|
|
|
Problem does not exist in Scribus 1.3.3.7. I uninstalled 1.3.3.9 and reinstalled 1.3.3.7 and the PDF file comes out ok. |
|
Franz: the bug is triggered by your fix of 0005568 (r8989). Restoring lines 3651-3673 of scimage.cpp r8989 to original code allows to export the pdf correctly |
|
Ok, have now reverted the changes from the bugfix for bug 5568. But now the eps from the bug 5568 doesn't render correctly in the postscript output. |
|
Well, maybe bug fix 0005568 was reverted too soon. Closer examination shows that the bug is triggered by rounding errors. When exporting to pdf (gsRes = 300dpi), variables in lines 3651-3673 have the following values: image.width() 2246 image.height() 3196 b 2295.83333 xc 50 h 3258.33333 y 62.50 so (b - xc) = 2245.8333 and (h - y) = 3195.83333 which are lower than image.width() and image.height() only by a small margin. This causes consequently image to be cropped and appear shifted in pdf. |
|
I committed a fix and re-enabled a modified 0005568 bugfix. I gonna fix in 1.3.5svn tomorrow. |
|
Resolving this issue as i can't reproduce it in 1.3.5svn |
|
fixed here |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-09-30 20:12 | Davex34 | New Issue | |
2007-09-30 20:12 | Davex34 | File Added: EPSTest.zip | |
2007-09-30 23:50 | Davex34 | Note Added: 0017478 | |
2007-09-30 23:50 | Davex34 | Note Edited: 0017478 | |
2007-10-02 18:36 | jghali | Note Added: 0017510 | |
2007-10-02 18:36 | jghali | Assigned To | => fschmid |
2007-10-02 18:36 | jghali | Status | new => confirmed |
2007-10-02 18:36 | jghali | Status | confirmed => assigned |
2007-10-02 18:37 | jghali | Relationship added | child of 0005640 |
2007-10-03 21:30 | fschmid | Note Added: 0017519 | |
2007-10-04 22:36 | jghali | Note Added: 0017524 | |
2007-10-04 23:30 | jghali | Note Added: 0017526 | |
2007-10-04 23:31 | jghali | Note Edited: 0017526 | |
2007-10-05 07:51 | jghali | Assigned To | fschmid => jghali |
2007-10-05 07:52 | jghali | Status | assigned => resolved |
2007-10-05 07:52 | jghali | Fixed in Version | => 1.3.3.10cvs |
2007-10-05 07:52 | jghali | Resolution | open => fixed |
2007-10-05 07:52 | jghali | Note Added: 0017529 | |
2007-10-06 21:55 |
|
Status | resolved => closed |
2007-10-06 21:55 |
|
Note Added: 0017545 | |
2007-12-20 22:50 | cbradney | Target Version | => 1.3.3.10cvs |
2007-12-28 09:04 | cbradney | Target Version | 1.3.3.10cvs => 1.3.3.10 |