Mercurial > hg > soundsoftware-site
view .svn/pristine/4d/4d81cc5316e201f2bbb721032960a2f74380fe9b.svn-base @ 1192:3c9ca27c2d3d feature_564
Add approximate back-of-envelope calculation of project maturity
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 22 Jan 2013 16:51:56 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
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) == == If you are using HTML, it is recommended you install: gem install -r htmlentities 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!