Summary: | Reading a PDF through poppler and outputting with cairo removes content | ||
---|---|---|---|
Product: | cairo | Reporter: | michael |
Component: | pdf backend | Assignee: | Adrian Johnson <ajohnson> |
Status: | RESOLVED WORKSFORME | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | critical | ||
Priority: | medium | ||
Version: | 1.8.6 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
original file
output from cairo sample source code for reproducing |
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.
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.