Permalink
Browse files

Clean up example

  • Loading branch information...
1 parent 451da0a commit eec1dc3021fac4d875e11bbafb9834c401c8851c @practicingruby committed Jun 26, 2008
Showing with 5 additions and 1 deletion.
  1. +5 −1 examples/simple_text_ttf.rb
@@ -5,6 +5,10 @@
fill_color "0000ff"
font "#{Prawn::BASEDIR}/data/fonts/comicsans.ttf"
text "Hello World", :at => [200,720], :size => 32
+
font "#{Prawn::BASEDIR}/data/fonts/Chalkboard.ttf"
- text "This is chalkboard wrapping " * 20
+
+ pad(20) do
+ text "This is chalkboard wrapping " * 20
+ end
end

0 comments on commit eec1dc3

Please sign in to comment.