Mercurial > hg > soundsoftware-site
diff .svn/pristine/ac/acc250b05e43c21173623b65f651d52d843f6f14.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.svn/pristine/ac/acc250b05e43c21173623b65f651d52d843f6f14.svn-base Fri Jun 14 09:02:21 2013 +0100 @@ -0,0 +1,41 @@ +FWIW - I am migrating my apps to Prawn and Prawnto + += RFPDF Template Plugin + +A template plugin allowing the inclusion of ERB-enabled RFPDF template files. + +== +== +== TCPDF Version (The New or UTF8 Version) +== +== + +TCPDF Documentation located at: + +http://phpdocs.moodle.org/com-tecnick-tcpdf/TCPDF.html + +Example of simple use in .rhtml: + +<% + @pdf = TCPDF.new() + @pdf.SetMargins(15, 27, 15); + @pdf.AddPage(); + text_options = {:font => "freeserif"} + @pdf.draw_text(15, 10, "text", {:font_size => 12, :font => "freeserif"}) +%><%=@pdf.Output()%> + +See the following files for sample of useage: + +test_unicode.rfpdf +utf8test.txt +logo_example.png + +FPDF users can migrate to TCPDF by changing the following from: + + pdf = FPDF.new + +to: + + pdf = TCPDF.new + +ENJOY!