Now, I feel somewhat bad posting this bug, because I know poppler would have liked to have done better in this regard a long time ago, and it's only been cairo that's holding it back. But, now, finally, with the upcoming cairo 1.6 release, there will finally be a CAIRO_EXTEND_PAD so that scaled images can be drawn without blurred edges. There's not any way for the PDF file to hint what kind of filtering is desired is there? If so, then cairo would love to hint exactly what's desired. -Carl
Created attachment 14439 [details] PDF file to demonstrate the bug
Created attachment 14440 [details] Current, undesired output from poppler (yes, cairo's fault!)
Created attachment 14441 [details] Desired rendering
This bug seems to be fixed after applying patch attached to bug #9860
(In reply to comment #0) > There's not any way for the PDF file to hint what kind of filtering is > desired is there? If so, then cairo would love to hint exactly what's > desired. Yes, the 'Interpolate' field in the Image dictionary, now CAIRO_FILTER_FAST is used when Interpolate flag is not present, and CAIRO_FILTER_BEST otherwise. In addition, CAIRO_EXTEND_PAD is used in drawImage() method now, we still have to fix the other image methods, though.
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.