Comment 13 for bug 150187

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

(In reply to comment #2)
> I don't think this is a poppler bug...
> My guess is that we are hitting the image fallback of the pdf surface. I'd
> expect that images produced should be higher resolution. i.e. Someone should be
> calling cairo_surface_set_fallback_resolution.

The first thing I tried was calling cairo_surface_set_fallback_resolution in evince and calling displaySlice with 300 instead of 72 in poppler-glib, but it didn't help.

> Though, I'm not sure who should
> be doing this. I'd expect the gtk printing infrastructure to do it, but I could
> be wrong.

In evince we are only using the gtk+ printing dialog, but not gtkprintoperation, so it should be done in evince.

> It looks like there is also a problem with how image masks are scaled. We do
> the scaling ourselves in poppler and I believe that will cause unnecessarily
> low resolution results.
>
> Also of note, cairo-git does fine grained fallbacks and so the problem is not
> as noticeable.
>

It seems there are many changes in cairo git that fix things in poppler/evince. Do you know if there are plans to release cairo soon?