prawn icon indicating copy to clipboard operation
prawn copied to clipboard

Acrobat having troubles opening multi-page PDFs

Open fbettag opened this issue 15 years ago • 12 comments

Several of my coworkers can't see pages > 1 with Acrobat 9 when the PDFs are generated with prawn. On other computers they work just fine (OSX Preview, etc).

Any ideas what that might be or how i could debug this?

fbettag avatar Jan 13 '11 11:01 fbettag

I'm experimenting the same issue right know, when I use latest prawn 0.11.1-pre and prawnto gem in a rails app. I will investigate and post here if I found somehing.

At the moment, the multipage portrait PDF that I generate opens well on mac os, display a blank page after the first one on acrobat reader 9 under ubuntu 11.04 and doesn't seem to have a page > 1 on windows

lminaudier avatar Jan 13 '11 15:01 lminaudier

It's a known issue with how Acrobat handles color spaces. We have a fix we are testing and it will be in master as soon as possible. Thanks for reporting!

bradediger avatar Jan 13 '11 15:01 bradediger

Thanks for responding that fast!

fbettag avatar Jan 13 '11 15:01 fbettag

Yep, it seems that it is the same issue than this one Thank you very much

lminaudier avatar Jan 13 '11 15:01 lminaudier

The fix is now merged into master. It would be great to confirm that this resolves your issue. Thanks for your patience.

jonsgreen avatar Jan 14 '11 01:01 jonsgreen

Thank you. i will give you results tomorrow.

fbettag avatar Jan 14 '11 02:01 fbettag

Thank you. i will give you results tomorrow.

fbettag avatar Jan 14 '11 02:01 fbettag

I couldn't wait ;) But i am happy to tell that it's working. Thank you so much for this awesome piece of code!

fbettag avatar Jan 14 '11 02:01 fbettag

Seems to work pretty well. Thumb up!

lminaudier avatar Jan 14 '11 07:01 lminaudier

Hi

It seems that it's still not working.

I'm using prawn (0.11.1) and run in the same issue with acrobat reader 9 + 10, just showing the first page of a multipage pdf file.

any idea?

thanks

tonini avatar May 11 '11 09:05 tonini

Hi @tonini, Can you post the problematic code to the prawn-ruby mailing list (https://groups.google.com/group/prawn-ruby)? That way we can investigate and figure out if it's the same problem or a different one. Thanks!

bradediger avatar May 11 '11 13:05 bradediger

Hi @bradediger

At last i figured it out. The problem was that i used a template pdf which was made with OSX's pages tool. Thanks!

tonini avatar May 11 '11 14:05 tonini