The true type font problem with Prawn and JRuby 1.20 prompted me to attempt, for the first time, a compile of trunk from github. Using netbeans 6.7 it was all too easy, a few complaints on compile, but BUILD SUCCESSFUL out of the box!!
The setup as a ruby platform in netbeans was also seamless.

On my older laptop with vista business, this prawn code took 4.265 secs in JRuby 1.20
and 1.836 secs in 1.30RC2.  WHAT HAVE YOU DONE :-)         ?
Not sure of the times to be expected in the pdf world, but the improvement is fantastic.
The true type font problem is also fixed.
Congratulations, it is all happening.

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
require 'prawn'
Prawn::Document.generate "test.pdf" do
 fill_color "0000ff"
 text "Hello World", :at => [200,720], :size => 32
 pad(20) do
   text "JRuby Rocks " * 20
 end
end

Thanks
Paul F Fraser

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to