Cairo uses knockout groups to put its fallback images into PDF files, and cairo would be happier if poppler would just use SOURCE to draw those groups. This could probably be done if poppler looked at the knockout group and saw that it just consists of drawing one rectangular image, (so it knows the "shape" is a rectangle and doesn't need to compute the shape and draw with DEST_OUT and ADD to get the shape). Good luck, Jeff! -Carl
It looks like this would have to be done with EXTEND_PAD and clipping to a rectangle. The pdf backend doesn't seem to have proper support for EXTEND_PAD and if it was fixed, it seems likely using EXTEND_PAD would cause a fallback. So there really isn't good api for painting the knockout groups with SOURCE.
-- 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/poppler/poppler/issues/625.
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.