Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Acrobat Reader DC when using dynamic: true on repeater. #925

Open
vanboom opened this issue Dec 15, 2015 · 2 comments
Open

Error in Acrobat Reader DC when using dynamic: true on repeater. #925

vanboom opened this issue Dec 15, 2015 · 2 comments

Comments

@vanboom
Copy link

vanboom commented Dec 15, 2015

Similar to #497
Using Prawn 2.0.2 in a Ruby on Rails application...

I have defined a stamp using create_stamp that includes an svg image and a table.

pdf.create_stamp("mystamp") do
  ... render a svg image
  ... render a table
  pdf.stroke_bounds
end

Then, called the stamp for each page at the bottom of my pdf

pdf.repeat((s..e).to_a, :dynamic=>true) do
    pdf.stamp logbook_entry.id.to_s
end

This induces the same error in Acrobat Reader as found in issue #497

Setting dynamic=>false causes the PDF to render perfectly in Acrobat Reader DC.

@iamjohnford
Copy link
Contributor

If you provide a full working example it would be easier for other people to test.

@packetmonkey
Copy link
Contributor

Yes, if you can please post a full code snippet to generate the bad PDF we can check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants