Created attachment 87047 [details]
PDF with images not shown.
This mapfish print has images but they don't appear in evince using poppler/cairo (0.20.5) backend.
Created attachment 87048 [details]
Incorrect and correct rendering side by side.
MuPDF shows the iages that Evince does not.
Splash (i.e. okular, pdftoppm) work too.
The problem was introduced in aaae8996766f259dcc329755c7cccde7c916c1fb to fix bug #40828. In this particular PDF there's no mask, so the matrix we are setting in drawImage() is uninitialized.
Internal Error: cairo context error: invalid matrix (not invertible)<0a>
We should probably check that there's actually a mask before setting the mask_matrix.
Created attachment 87150 [details] [review]
Adrian, does this patch make sense to you?
Yes it looks correct.
Thanks, pushed to git master and 0.24 branch