Permalink
Browse files

Some tweaking to font example

  • Loading branch information...
1 parent fbde729 commit 22ddabca8c0f9b66c31ac045459eab48dffce777 @practicingruby practicingruby committed May 30, 2008
View
Binary file not shown.
File renamed without changes.
@@ -3,6 +3,8 @@
Prawn::Document.generate "hello.pdf" do
fill_color "0000ff"
- font "comicsans.ttf", :ttf
+ font "#{Prawn::BASEDIR}/data/fonts/comicsans.ttf", :ttf
text "Hello World", :at => [200,720], :size => 32
+ font "#{Prawn::BASEDIR}/data/fonts/Chalkboard.ttf", :ttf
+ text "Blah Blah Blah"
end

0 comments on commit 22ddabc

Please sign in to comment.