zhangxiaoming / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

Unable to render the attached PDF #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
attached is what pdfium_test produces and also what I exepct to see.

More information:

This PDF is produced by Skia: 

    https://fiddle.skia.org/c/1fe0a00bdb2c153e99b9c9faa5409ceb

Original issue reported on code.google.com by halcan...@google.com on 17 Jun 2015 at 7:14

Attachments:

GoogleCodeExporter commented 9 years ago
Does it render correctly in Acrobat Reader? Foxit Reader? Preview.app? On 
Linux, Okular also only renders some of the squares - 101 of them. I bet 
there's some place where we set the recursion limit to 32, thus we only get 30 
squares.

Maybe we can up the recursion limit, but really, how often are we going to see 
this in practice?

Original comment by thestig@chromium.org on 11 Aug 2015 at 9:47

GoogleCodeExporter commented 9 years ago
So Okular renders 101 squares, and pdf.js renders 1.

Given that other PDF viewers also cannot render this, you should consider 
changing Skia to generate PDFs that use less recursion.

Original comment by thestig@chromium.org on 4 Sep 2015 at 10:18

GoogleCodeExporter commented 9 years ago
I think this has been improved in http://crrev.com/1159763004 .

Original comment by halcan...@google.com on 4 Sep 2015 at 2:21