Created attachment 38217 [details] original file Reading a PDF through poppler and outputting with cairo removes content in special cases. To reproduce the error in a minimal form i've taken the pdf2ps.c demo and replaced the surface creating with cairo_pdf_surface_create(...) I've narrowed it down to; the error seems to happen when a text block contains the sequence "1A". If i changed that to "1a" no error occured. I know my cairo version is old, but I have reports it doesn't work on newest stable either, but cannot confirm this. Attached are bug.pdf - the original sample document, and output.pdf, the output of cairo when simply read/written.
Created attachment 38218 [details] output from cairo
Created attachment 38219 [details] sample source code for reproducing
This cannot be reproduced using latest cairo and poppler from git. Please try using newer versions and reopen if you can still reproduce the problem (specifying what versions you used).
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.