Summary: | A blank page output when print a specific JPEG file with eog | ||
---|---|---|---|
Product: | cairo | Reporter: | zhangxiufu |
Component: | general | Assignee: | Chris Wilson <chris> |
Status: | RESOLVED MOVED | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
The JPEG file that occures the problem
The Cairo generated print data Printing to a file instead of a printer and got a 859bytes PDF file |
Description
zhangxiufu
2017-09-04 06:00:58 UTC
Created attachment 133954 [details]
The Cairo generated print data
I tested the jpeg with eog 3.20.5 and cairo 1.14.8. I printed to a PDF file and got a 5MB PDF containing the image. Renders fine in evince. I also compiled eog 3.24.0 and got the same result. This is on Debian Stretch which appears to be using the same cairo .deb as Ubuntu 17.04. So I'm not sure why it is not working for you. Could you try printing to a file instead of a printer to see if the PDF is the same. (In reply to Adrian Johnson from comment #2) > I tested the jpeg with eog 3.20.5 and cairo 1.14.8. I printed to a PDF file > and got a 5MB PDF containing the image. Renders fine in evince. > > I also compiled eog 3.24.0 and got the same result. This is on Debian > Stretch which appears to be using the same cairo .deb as Ubuntu 17.04. So > I'm not sure why it is not working for you. > > Could you try printing to a file instead of a printer to see if the PDF is > the same. Dear Adrian Johnson, Thank you very much for your reply. This problem only occurs on Ubuntu 17.04. It does not occurs on Ubuntu 16.04, CentOS 7.3 and OpenSUSE Leap 42.2. So I think it is possible that the problem is not happened when you test the problem on Debian Stretch. I tried printing to a PDF file instead of a printer and got a 859bytes PDF without containing the image. For details, please refer to the attachment “Penguins_1200_half.jpg.pdf”. If possible, I hope you can try printing the jpeg with eog on Ubuntu 17.04 to see if the problem is being reproduced. Created attachment 134063 [details]
Printing to a file instead of a printer and got a 859bytes PDF file
I installed Ubuntu 17.04 amd64 in a virtual machine, printed the JPEG to a pdf file using eog 3.24.0 and got a 5MB pdf file that renders correctly. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/208. |
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.