View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008370 | Scribus | public | 2009-08-21 14:29 | 2009-08-29 00:18 | |
Reporter | pspencer | Assigned To | fschmid | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | linux | OS | Fedora | OS Version | 10 |
Product Version | 1.3.5 | ||||
Fixed in Version | 1.3.6svn | ||||
Summary | 0008370: Inline Render Frames Don't Always Export Properly to PDF | ||||
Description | If I have an inline render frame (we use these to render mathematical formulas inline in a regular scribus text frame) and export to pdf with the experimental "Embed EPS/PDF" feature checked, I often find the render frame does not appear in the final pdf. The items are there, but seem to be drawn in the background colour so they are invisible. I notice there is code in pdflib_core.cpp that seems to be designed to address precisely this problem because it is commented "add default graphics stack parameters pdftex relies on them" -- however that code is never executed in the case of an inline render frame. I have attached a 1-line patch which prevents the skipping of that code when dealing with any render frame. I'm not sure if that's the "right" solution but it works well for us. | ||||
Steps To Reproduce | Create a LaTeX frame. Copy it into a text frame as an inline frame. Export to PDF with "Embed EPS/PDF Graphics" selected. Observe the LaTeX code doesn't appear. | ||||
Additional Information | Patch is attached. | ||||
Tags | No tags attached. | ||||
Patch | |||||
2009-08-21 14:29
|
renderexport.patch (449 bytes)
--- scribus-1.3.5.1/scribus/pdflib_core.cpp.orig 2009-08-11 13:47:59.000000000 -0400 +++ scribus-1.3.5.1/scribus/pdflib_core.cpp 2009-08-20 16:15:10.000000000 -0400 @@ -6678,6 +6678,7 @@ if (SharedImages.contains(fn)) ImInfo2 = SharedImages[fn]; if ((!SharedImages.contains(fn)) + || c->asLatexFrame() || (fromAN) || (c->effectsInUse.count() != 0) || ((ImInfo2.origXsc != ImInfo.origXsc) || (ImInfo2.origYsc != ImInfo.origYsc)) |
|
Patch applied to 1.5.0svn |
|
Applied to 1.3.6svn too! |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-08-21 14:29 | pspencer | New Issue | |
2009-08-21 14:29 | pspencer | File Added: renderexport.patch | |
2009-08-21 18:36 | fschmid | Note Added: 0022395 | |
2009-08-24 22:52 | jghali | Status | new => assigned |
2009-08-24 22:52 | jghali | Assigned To | => fschmid |
2009-08-24 22:54 | jghali | Note Added: 0022415 | |
2009-08-24 22:54 | jghali | Status | assigned => resolved |
2009-08-24 22:54 | jghali | Fixed in Version | => 1.3.6svn |
2009-08-24 22:54 | jghali | Resolution | open => fixed |
2009-08-29 00:18 | christoph_s | Status | resolved => closed |