Bug 56493

Summary: clipped characters in PDF output
Product: cairo Reporter: Benjamin Berg <benjamin>
Component: pdf backendAssignee: Adrian Johnson <ajohnson>
Status: RESOLVED INVALID QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.6   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: File in question
Rendered using cairo master
Rendered using cairo 1.12.2 (debian)

Description Benjamin Berg 2012-10-28 14:00:25 UTC
Created attachment 69188 [details]
File in question

I have a PDF (example attached) where parts of characters are missing. This is with cairo master, cairo 1.12.2 performs much worst on the same PDF.

So, with master:
 * characters get clipped (look at the integral sign and the brackets)

And with 1.12.2:
 * loads of characters are missing, but none of the visible ones are clipped
Comment 1 Benjamin Berg 2012-10-28 14:01:51 UTC
Created attachment 69189 [details]
Rendered using cairo master
Comment 2 Benjamin Berg 2012-10-28 14:02:32 UTC
Created attachment 69190 [details]
Rendered using cairo 1.12.2 (debian)
Comment 3 Benjamin Berg 2012-10-28 14:04:11 UTC
As I did not mention this yet. Rendered using:
  pdftocairo -pdf error.pdf out.pdf
Comment 4 Uli Schlachter 2012-10-28 14:15:51 UTC
Can't reproduce this here with debian testing + cairo master (With cairo from debian testing, I do see the missing glyphs bug).

Any ideas on what might be different?
Comment 5 Benjamin Berg 2012-10-28 14:47:34 UTC
Sorry for the noise. Looks like the PDF produced by cairo master is correct, but is rendered wrong using older versions of cairo and poppler.

Rendering the pdf to png with pdftocairo (poppler and cairo master) or viewing it with "gv" everything is fine.

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.