Summary: | PostScript file generated by Poppler's pdftops utility are broken when PDF input comes from f-spot (or perhaps also other GTK/Cairo apps) | ||
---|---|---|---|
Product: | poppler | Reporter: | Till Kamppeter <till.kamppeter> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | sho |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Patch to fix bug 18908, as it is applied to the Ubuntu package
Additional patch which is applied to the Ubuntu package |
Description
Till Kamppeter
2009-01-07 05:15:22 UTC
Unfortunately, the photo.pdf file is too big for attaching to this bug. It is available here: http://launchpadlibrarian.net/20978481/photo.pdf I use the Poppler version of Ubuntu Intrepid with all updates. It contains the patch of bug 18908. It works here on poppler-0.10 branch so either your patch is wrongly applied or something else changed in gs. My installed Poppler version is 0.8.7, the one which comes with Ubuntu Intrepid. It has the patch from bug 18908 applied. I attach the patch again. There is also another small patch against crashes applied to the active code. I also attach it. Created attachment 21747 [details] [review] Patch to fix bug 18908, as it is applied to the Ubuntu package Created attachment 21748 [details] [review] Additional patch which is applied to the Ubuntu package On Ubuntu Intreprid with all updates I can reproduce this bug using /usr/bin/pdftops. With the latest poppler from git it works for me. I would suggest getting a diff between the Intrepid PSOutputDev.cc and the PSOutputDev.cc in the 0.10 branch at the time the fix was applied to see what is different in Intrepid. As you can see from the history of this file there is very little that has changed in this file in the last 6 months: http://cgit.freedesktop.org/poppler/poppler/log/poppler/PSOutputDev.cc?h=poppler-0.10 Does Intrepid include the commit from 2008-09-19 "make sure the image is setup before using it, otherwise some things don't print"? Till i'm not doing your job man ;-) Get yourself poppler 0.10 from git and test if it works for you, in case it does not work, we can continue looking why it does for me and does not for you. Adrian, my version of the file is from June 1, 2008, and I have tried to apply the "make sure the image is setup before using it, otherwise some things don't print" patch and nothing changed. In contrary to bug 17645, the image data of the photo is present in the PostScript file. It seems here that the image is moved out of the frame, to the lower left. I have now also tried the patches from 2008-09-05 and from 8 days ago and I have still the broken output. Seems that the fix happened in another file than PSOutputDev.cc. I have done another test: Ubuntu Intrepid version (0.8.7) with only the patch of bug 18908 applied. With a really clean Intrepid (Ghostscript 8.63) the resulting PostScript file displays correctly. On my system was Ghostscript 8.64 and with this version the file did not display -> Ghostscript regression. Reported Ghostscript problem as http://bugs.ghostscript.com/show_bug.cgi?id=690222 Thanks for finding this! In case it results it's not a gs regression but a "bugfix" please comeback to us. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.