Convert PDFs generation from Prawn to Htmltopdf #1575
Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
-
NOTE: mileszs/wicked_pdf#754 A lot of these PDF gems are incestuous and relate to one another. You may encounter this issue -- when doing the rendering ensure that you have both a Mac and non-Mac do PDF rendering to check for it. If the problem exists, what you will see is that the PDF looks smaller than it should on Mac, but normal size on other OSes. The fix is: Ping me on Slack (@A--A-ron) if you have questions about it |
Beta Was this translation helpful? Give feedback.
-
+1 The partner app is using |
Beta Was this translation helpful? Give feedback.
-
Summary
We are interested in using htmltopdf gem to produce a cleaner looking distribution pdfs. We're currently using prawn but by using htmltopdf we can get a consistent UX between the pdfs and the website.
Criteria for Completion
htmltopdf
and hook it up to functionality to generate distribution pdfs. The theme we are using has an invoice template that could likely be adapted for the core html of this.Beta Was this translation helpful? Give feedback.
All reactions