View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015113 | Scribus | public | 2018-01-27 20:39 | 2018-01-28 19:39 | |
Reporter | u ltd. | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | amd64 | OS | alike debian | OS Version | 9 |
Product Version | 1.5.4.svn | ||||
Summary | 0015113: Exporting embedded pdf file with ArtBox != MediaBox. | ||||
Description | In pdflib_core.cpp the ArtBox of embedded pdf files isn't respected correctly. This worked fine in 1.4.6. There's a workaround which I did only test for my sample file (do you want this file uploaded?) OLD code of pdflib_core.cpp, about line 9760 and again 9890 if (rotation == 0) PutDoc("0 0"); BETTER code of pdflib_core.cpp, about line 9760 and again 9890 if (rotation == 0) PutDoc(Pdf::toPdf(0.0-pageRect.GetLeft()/pageRect.GetWidth()) + " " + Pdf::toPdf(0.0-pageRect.GetBottom()/pageRect.GetHeight())); | ||||
Steps To Reproduce | I have a Scribus document which includes an embedded pdf object (as image frame). This pdf object has an ArtBox different smaller than the MediaBox. When exporting the document to pdf using the experimental embed pdf option the object gets cropped because it is moved outsite it's BBox. | ||||
Additional Information | Remark: I'm using a 1.5.3 svn version, but I updated the respective PDF export code to 1.5.4svn so I marked it as 1.5.4 svn for this ticket. This piece of code happenes 2x in pdflib_core.cpp as there's a big bunch of nearly identical duplicated code. Question: Are there test procedures in Scribus to catch regression bugs? This would have saved me lots of time as I originally wanted to simply use the program. | ||||
Tags | pdf export, regression | ||||
Patch | Yes | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-27 20:39 | u ltd. | New Issue | |
2018-01-27 20:39 | u ltd. | File Added: CodeToChange.png | |
2018-01-27 20:39 | u ltd. | Tag Attached: pdf export | |
2018-01-27 20:39 | u ltd. | Tag Attached: regression | |
2018-01-28 19:38 | jghali | Assigned To | => jghali |
2018-01-28 19:38 | jghali | Status | new => resolved |
2018-01-28 19:38 | jghali | Resolution | open => duplicate |
2018-01-28 19:38 | jghali | Note Added: 0044883 | |
2018-01-28 19:38 | jghali | Relationship added | duplicate of 0014840 |
2018-01-28 19:39 | jghali | Status | resolved => closed |