Chris@441: FWIW - I am migrating my apps to Prawn and Prawnto Chris@441: Chris@0: = RFPDF Template Plugin Chris@0: Chris@0: A template plugin allowing the inclusion of ERB-enabled RFPDF template files. Chris@0: Chris@441: == Chris@441: == Chris@441: == TCPDF Version (The New or UTF8 Version) Chris@441: == Chris@441: == Chris@0: Chris@441: TCPDF Documentation located at: Chris@0: Chris@441: http://phpdocs.moodle.org/com-tecnick-tcpdf/TCPDF.html Chris@0: Chris@441: Example of simple use in .rhtml: Chris@0: Chris@0: <% Chris@441: @pdf = TCPDF.new() Chris@441: @pdf.SetMargins(15, 27, 15); Chris@441: @pdf.AddPage(); Chris@441: text_options = {:font => "freeserif"} Chris@441: @pdf.draw_text(15, 10, "text", {:font_size => 12, :font => "freeserif"}) Chris@441: %><%=@pdf.Output()%> Chris@0: Chris@441: See the following files for sample of useage: Chris@0: Chris@441: test_unicode.rfpdf Chris@441: utf8test.txt Chris@441: logo_example.png Chris@0: Chris@441: FPDF users can migrate to TCPDF by changing the following from: Chris@0: Chris@441: pdf = FPDF.new Chris@0: Chris@441: to: Chris@0: Chris@441: pdf = TCPDF.new Chris@0: Chris@1294: ENJOY!