[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
As per Evince upstream, the bug is in libcairo. ** Package changed: evince (Ubuntu) => cairo (Ubuntu) ** Project changed: poppler => libcairo ** Bug watch added: freedesktop.org Bugzilla #47706 https://bugs.freedesktop.org/show_bug.cgi?id=47706 ** Changed in: libcairo Importance: Undecided => Unknown ** Changed in: libcairo Status: New => Unknown ** Changed in: libcairo Remote watch: None => freedesktop.org Bugzilla #47706 ** Summary changed: - [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped + [Upstream] Exporting pdf from LibreOffice with smooth gradient displays striped in Evince, shows correctly in Adobe Reader -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] Exporting pdf from LibreOffice with smooth gradient displays striped in Evince, shows correctly in Adobe Reader To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
Test2.pdf is a postscript file, not pdf. So it will be rendered by ghostscript when viewed with evince. The problem is caused by libreoffice. The "gradient" is actually a series of shaded rectangles. In fact the rectangles are not even correctly aligned. There is a tiny gap between each one. Cairo (used by evince) has a problem with showing lines between adjacent fills due to antialiasing. There is no easy way to fix this. And the small gaps between the rectangles caused by libreoffice will make the problem worse. The best solution is for libreoffice to use PDF gradients to draw the shading. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
** No longer affects: libreoffice (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
Oddly enough, acroread will read & display both versions (and all the other attachments) just fine, so both evince and libreoffice are problematic. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
I retested this on a theory (see 164233.tar.gz). Test1.pdf is from the steps above, and produces a chunky result as described. test2.pdf however was created using the print to file method of creating pdf files, which I believe is a completely different library, and it looks right (at least on this system). This leads me to believe that the issue is in /usr/lib/libreoffice/program/libpdffilterlo.so or OpenOffice/LibreOffice. ** Attachment added: "164233.tar.gz" https://bugs.launchpad.net/ubuntu/+source/evince/+bug/164233/+attachment/2901065/+files/164233.tar.gz ** Also affects: libreoffice (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
Following the steps above to create my own presentation slide in LibreOffice with a gradient background I was able to reproduce this. My system is running precise beta 1 (AMD64). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
The PDF does not contain a gradient. It contains a series 2 point high filled rectangles designed to look like a gradient. Evince has trouble with white seams showing between adjacent fills due to antialiasing. The best solution would be if openoffice used a PDF gradient. The bug where evince rendered gradients using lots of thin rectangles with visible seams was fixed a long time ago. Evince now uses cairo gradients and will render PDF linear gradients fine without any stripes. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
I don't have time to chase it down at the moment but maybe you do, Chris. I recall reading some time ago that the problem is in the poppler PDF-writing library, which uses a broken algorithm to make the gradient out of a set of constant-color stripes whose edges are being rendered as white lines by some readers and not by others. Other PDF- writing programs that do not use poppler (from Win or Mac worlds) produce them differently. So the problem is in poppler, if I recall it all correctly. --jh-- -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
** Changed in: evince Status: Unknown => New ** Changed in: evince Importance: Unknown => Low -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 164233] Re: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped
** Summary changed: - [Upstream] [hardy] Exporting a background with gradient produces a stripey pdf + [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped ** Description changed: 1) lsb_release -rd Description: Ubuntu 11.04 Release: 11.04 2) apt-cache policy evince evince: - Installed: 2.32.0-0ubuntu12.2 - Candidate: 2.32.0-0ubuntu12.2 - Version table: - *** 2.32.0-0ubuntu12.2 0 - 500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages - 100 /var/lib/dpkg/status - 2.32.0-0ubuntu12 0 - 500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages + Installed: 2.32.0-0ubuntu12.2 + Candidate: 2.32.0-0ubuntu12.2 + Version table: + *** 2.32.0-0ubuntu12.2 0 + 500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages + 100 /var/lib/dpkg/status + 2.32.0-0ubuntu12 0 + 500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages 3) What is expected in Impress via the Terminal: cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/164233/+attachment/2281555/+files/example.odp && loimpress -nologo example.odp - export the file with Gradient 1 inserted into the background to pdf, - open the pdf with Evince and it looks as it does in both Impress and + export the file with Gradient 1 inserted into the background to pdf ( + https://bugs.launchpad.net/ubuntu/+source/evince/+bug/164233/+attachment/2281556/+files/example.pdf + ), open the pdf with Evince and it looks as it does in both Impress and Adobe Reader. 4) What happens instead is Evince shows a striped gradient. WORKAROUND: Use Adobe Reader. apt-cache policy acroread acroread: - Installed: 9.4.2-0natty1 - Candidate: 9.4.2-0natty1 - Version table: - *** 9.4.2-0natty1 0 - 500 http://archive.canonical.com/ubuntu/ natty/partner i386 Packages - 100 /var/lib/dpkg/status + Installed: 9.4.2-0natty1 + Candidate: 9.4.2-0natty1 + Version table: + *** 9.4.2-0natty1 0 + 500 http://archive.canonical.com/ubuntu/ natty/partner i386 Packages + 100 /var/lib/dpkg/status ** Bug watch added: GNOME Bug Tracker #656614 https://bugzilla.gnome.org/show_bug.cgi?id=656614 ** Project changed: openoffice => evince ** Changed in: evince Status: Confirmed => Unknown ** Changed in: evince Remote watch: OpenOffice.org Issue Tracker #65970 => GNOME Bug Tracker #656614 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/164233 Title: [Upstream] [hardy] Opening pdf with smooth gradient in Evince displays striped To manage notifications about this bug go to: https://bugs.launchpad.net/evince/+bug/164233/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs