Bug 574118
Summary: | some pdfs are converted to ugly ps | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Till Maas <opensource> | ||||||||||||||
Component: | poppler | Assignee: | Marek Kašík <mkasik> | ||||||||||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||||
Priority: | low | ||||||||||||||||
Version: | 20 | CC: | bughunt, jdennis, jpopelka, mkasik, opensource, rdieter, rvokal, twaugh | ||||||||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||||||||
Target Release: | --- | ||||||||||||||||
Hardware: | All | ||||||||||||||||
OS: | Linux | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2015-06-30 00:32:52 UTC | Type: | --- | ||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
Embargoed: | |||||||||||||||||
Bug Depends On: | |||||||||||||||||
Bug Blocks: | 755082 | ||||||||||||||||
Attachments: |
|
Description
Till Maas
2010-03-16 16:56:45 UTC
Created attachment 402073 [details]
example pdf to show the problem
Actually it seems that the options to pdftops are not important, because pdftops from F12 creates a broken ps, too, now that I try to reproduce it. I attached a .pdf file that shows the problem.
Steps to reproduce:
1) create ps file: /usr/lib/cups/filter/pdftops job user title 1 "" < minimalbeispiel-cups.pdf > minimalbeispiel-cups.ps
Actual result:
Looking at the .ps file, the title text "Lorem ipsum dolor..." looks ugly. Using cups from CentoS5.4, it does not look ugly.
Additional Information:
I can attach a ps file from CentOS or the Latex sources for this document if needed.
Seems like a poppler problem. Testing with Red Hat Enterprise Linux 5.4 shows good output from 'pdftops minimalbeispiel-cups.pdf', but not with Fedora 12. Some sort of poppler regression between 0.5.4-4.4.el5_1 and poppler-0.12.4-2.fc12. Hi, what does it mean that it looks ugly? Is it the pixelization of those words? Could you attach some pictures (good and ugly :) )? Marek Created attachment 402106 [details]
Fedora 12 and CentOS 5.4 ps conversion result
Sorry for the unprecise report. The Fedora 12 line is ugly, the CentOS 5.4 line is good.
Hi, the problem is that poppler renders the PDF into the PostScript as a big image. So, it looks ugly when zoomed. Upstream bug is https://bugs.freedesktop.org/show_bug.cgi?id=21723. I'm going to look at it closer. Marek Poppler renders it to image because the PDF uses transparency. When I remove the image from the PDF then it renders the text smoothly. Marek Created attachment 402551 [details]
pdf without transparent png
If I use a non transparent PNG, the problem still exists. I don't know, whether is helps, but the pdf is created using pdflatex and \AddToShipoutPicture* from the eso-pic package. I will also attach the results from using the CUPS pdftops filter from Centos 5.4 and the tex source.
Created attachment 402552 [details]
tex source for the pdf
Created attachment 402553 [details]
CentOS 5.4 ps with transparent png
Created attachment 402554 [details]
CentOS 5.4 ps without transparent png
Hi, the PDF still contains SMask ("8 0 obj" included in "1 0 obj") which implies that some kind of transparency is involved yet. Marek (In reply to comment #11) > the PDF still contains SMask ("8 0 obj" included in "1 0 obj") which implies > that some kind of transparency is involved yet. I see. This might come from the "\AddToShipoutPicture*" LaTeX command. I only removed the transparency in the used PNG file. This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. still present in cups-1.4.4-11.fc14 This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. I'm reopening this bug. The problem still exists in Fedora 18 and is very annoying. I can no longer print from my Fedora machines because the output is so poor. Instead I have to switch to a Windows machine and print from Windows instead. Can we get a date by which this will be fixed? (In reply to John Dennis from comment #19) > I'm reopening this bug. The problem still exists in Fedora 18 and is very > annoying. I can no longer print from my Fedora machines because the output > is so poor. Instead I have to switch to a Windows machine and print from > Windows instead. > > Can we get a date by which this will be fixed? Hi John, I can not give you a date when this bug will be fixed. It seems that upstream don't have time for fixing this. Have you tried to prepare the PostScript file manually by converting it using e.g. "pdftops -r 1200 input.pdf output.ps" and print it then? Regards Marek Are you suggesting for everything I print I go through a convoluted manual process of intercepting the intermediate pdf and massaging it? I think perhaps there is a crucial piece of information that's been overlooked. When you print from Firefox it generates a pdf. Thus this problem does not just affect printing a pdf file sitting on disk somewhere. Given most applications seem to generate pdf for printing it means virtually everything one prints is affected by this. With respect to Firefox printing some of might be due to the introduction of pdf.js in Firefox, not sure I understand the relationship between all the components, but have a look at this bug https://bugzilla.mozilla.org/show_bug.cgi?id=811002 and this: https://github.com/mozilla/pdf.js/issues/2750 While these issues are similar I'm not entirely sure general printing in Firefox is affected by Firefox's internal pdf viewer. I suspect when Firefox converts a page to pdf for printing it by passes anything related to pdf viewing. What is interesting is both problems seem to share a root cause, rasterizing to an image and then inserting the image in the pdf (or so I believe with my admitted limited knowledge). This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Woah this is BAD. A showstopper bug that has been open for 4 years? What can be done? Maybe we should start a bit of financing? This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |