Bug 56493 - clipped characters in PDF output
Summary: clipped characters in PDF output
Alias: None
Product: cairo
Classification: Unclassified
Component: pdf backend (show other bugs)
Version: 1.12.6
Hardware: Other All
: medium normal
Assignee: Adrian Johnson
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2012-10-28 14:00 UTC by Benjamin Berg
Modified: 2012-10-28 14:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

File in question (35.53 KB, text/plain)
2012-10-28 14:00 UTC, Benjamin Berg
Rendered using cairo master (100.92 KB, application/pdf)
2012-10-28 14:01 UTC, Benjamin Berg
Rendered using cairo 1.12.2 (debian) (43.08 KB, application/pdf)
2012-10-28 14:02 UTC, Benjamin Berg

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.