Trying to understand your workflow here. Are you feeding the output of
Prawn into pdf-inspector? Can you give a sample of the PDF that is
causing the pdf-inspector errors?
-be
I'm doing basically the same thing as the prawn tests:
page_counter = PDF::Inspector::Page.analyze(doc.render)
> Can you give a sample of the PDF that is
> causing the pdf-inspector errors?
http://cl.ly/3d233i1y1g1M0D011638
Minimal lines of code to reproduce:
https://gist.github.com/1376918
Been kinda stumped about this for the past couple days, so thanks,
Brad.
---
Wes Garrison
This works for me with a JPEG I had around, using
data/images/fractal.png from the Prawn distribution. Can you provide
the banner.jpg image that is causing problems?
-be
Anything weird about your environment? Are you on a strange version /
patchlevel of Ruby? On Windows or another strange platform?
-be
On Fri, Nov 18, 2011 at 11:18 AM, Wes Garrison, Databasically
ruby-1.9.2-p290 (via rvm)
GIT
remote: git://github.com/sandal/prawn.git
revision: c041a778d76ab15fc1729b08018cc362810f5986
branch: master
I don't have any idea what else to check! I'm running in a separate
gemset, but it's apparently something local to my machine.
Guess I... do something else. Maybe I'll try 1.9.3 and see if that
magically resets something. Not sure what else to try, but thanks for
confirming.