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