Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add :use_cursor option to PrawnOutputter, which makes it use and upda…
…te Prawn's built-in cursor This lets you output a human-readable barcode like this: barcode = Barby::QrCode.new("http://toretore.eu/barby/") Prawn::Document.generate("test.pdf") do |pdf| pdf.text "Visit this website:" barcode.annotate_pdf(pdf, :use_cursor => true) pdf.text barcode.data end
- Loading branch information