I´m trying this simple script:
require 'prawn'
template_file_name = File.join(File.dirname(__FILE__), 'template.pdf')
pdf_file = Prawn::Document.new(:template => template_file_name)
pdf_file.text('Hello World')
pdf_file.render_file('output.pdf')
There is a template.pdf file in the same dir as the script but the output.pdf comes only with the Hello Wordl
Is there anything else that I should be concerned of?
Thanks