Comment 8 for bug 248355

Revision history for this message
Niall Gallagher (npgall) wrote :

Hi,

I can confirm that this bug is present for me in Evince (Document Viewer) 2.24.1, which is "using poppler 0.8.7 (cairo)". I'm on Ubuntu 8.10.

This bug renders Evince useless for displaying PDFs which contain high resolution graphs; graphs which I have to look at daily. Specifically this is going to affect badly the display of PDF files which contain images having a higher resolution than the screen on which they will be displayed. Such rendering will lose information in the source image entirely. PDFs which contain images having a lower resolution than the screen on which they will be displayed will not be affected so badly; no pixels will be ignored. But such enlarged images will not look smooth.

See attached screenshots of the same page in the same PDF rendered both in Evince and in Adobe Reader 8 (which I've installed as a stop-gap). Both are rendered at 100% zoom. Clearly the Evince-rendered graph is badly broken. Parts of the line graph are not rendered at all.

Knowing a bit about image manipulation; this is because Evince is simply displaying every nth pixel from the high-res source image on screen verbatim (without interpolation), instead of displaying an average of source pixel values around the sample points within the source image. Evince ignores the pixels between sample points in the source image, which in the case of the fine-detailed graph causes it to not render parts of the graph at all.