Good news, friend! DocRaptor Gem v0.2.0 Released today. Check out the new Gem with test suite and ARec-style ! methods. Here’s the Repo. You can see code changes here. Gem change log for 0.2.0: tests! added a create! method which …

Posted in announcement, docraptor | Leave a comment

Mark from Carriemail asked about using Google Webfonts in the DocRaptor Rails Example (clone it from github). Now that the link-fest is over, let’s talk about how to do that (it’s really easy). In app/views/index.pdf.haml (original), I add the following …

Posted in pdf, protips, tutorial | 2 Comments

In my original Google Web Fonts post, I gave a simple example of using Google Web Fonts via their CSS downloads. This post deals with using Google Web Fonts via javascript. Yay! I’m going to pull the js example from …

Posted in pdf, protips, tutorial | 1 Comment

No Margin PDFs with DocRaptor

June 29, 2011 posted by joel

We had a support ticket come in this morning about how to make a PDF with DocRaptor having no margins. What follows is a little background information and the simplest way to achieve the result. Page Styles in Prince XML …

Posted in pdf, protips, tutorial | 1 Comment

DocRaptor Does Google Web Fonts

June 8, 2011 posted by joel

Google Web Fonts are an easy way to add some panache to a website. With DocRaptor’s javascript and font-face support, they’re an easy way to add some style to a PDF. Google’s Getting Started page has a a very simple …

Posted in pdf, protips, tutorial | 6 Comments

DocRaptor Support gets asked a lot if there’s support for headers and footers. The answer is a most definite YES! We use Prince XML to product PDFs. As such, there are some specialty CSS rules that can be used to …

Posted in pdf, protips, tutorial | Leave a comment