devongovett/pdfkit — pull request #139 by mark-hahn (2013-07-03 22:30:01+00:00)
Title: added visibility feature

As I described in Issue #132, I needed a feature that lets you predict what the size of a text box or other element will be without writing to the PDF. This is the visibility feature I described there. It lets you turn off visibility so rendering elements only changes doc.x and doc.y without modifying the page.