##// END OF EJS Templates
remove JRuby PostgreSQL from allow_failures of .travis.yml...
remove JRuby PostgreSQL from allow_failures of .travis.yml Tests pass on Travis. * jruby 1.7.9 (1.9.3p392) 2014-01-09 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18 [linux-amd64] * jdbc-postgres (9.3.1100) * activerecord-jdbc-adapter (1.3.5) * activerecord-jdbcpostgresql-adapter (1.3.5) git-svn-id: http://svn.redmine.org/redmine/trunk@12668 e93f8b46-1217-0410-a6f0-8f06a7374b81
Toshi MARUYAMA -
r12393:364b334d893b
Show More
Name Size Modified Last Commit Author
/ lib / plugins / rfpdf
lib
test
CHANGELOG Loading ...
MIT-LICENSE Loading ...
README Loading ...
init.rb Loading ...
logo_example.png Loading ...
test_unicode.rfpdf Loading ...
utf8test.txt Loading ...

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!