View Issue Details

IDProjectCategoryView StatusLast Update
0006315ScribusPDFpublic2007-12-28 09:04
ReporterDavex34 Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSWindows XP 
Product Version1.3.3.9cvs 
Target Version1.3.3.10Fixed in Version1.3.3.10svn 
Summary0006315: EPS Images shifted in Exported PDF File
DescriptionImported 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 ReproduceCreate 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 InformationI 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.
TagsNo tags attached.
Patch

Relationships

child of 0005640 closedplinnell 1.3.3.10 Release 

Activities

2007-09-30 20:12

 

EPSTest.zip (358,118 bytes)

Davex34

2007-09-30 23:50

reporter   ~0017478

Last edited: 2007-09-30 23:50

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.

jghali

2007-10-02 18:36

administrator   ~0017510

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

fschmid

2007-10-03 21:30

developer   ~0017519

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.

jghali

2007-10-04 22:36

administrator   ~0017524

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.

jghali

2007-10-04 23:30

administrator   ~0017526

Last edited: 2007-10-04 23:31

I committed a fix and re-enabled a modified 0005568 bugfix. I gonna fix in 1.3.5svn tomorrow.

jghali

2007-10-05 07:52

administrator   ~0017529

Resolving this issue as i can't reproduce it in 1.3.5svn

plinnell

2007-10-06 21:55

viewer   ~0017545

fixed here

Issue History

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 plinnell Status resolved => closed
2007-10-06 21:55 plinnell 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