Created
February 5, 2009 19:59
-
-
Save bradediger/58961 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'prawn' | |
Prawn::Document.generate('font_test.pdf') do | |
font "Helvetica", :style => :bold | |
text "Bold" | |
start_new_page | |
text "This should be bold" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby -rubygems font_test.rb | |
$ grep ProcSet font_test.pdf | |
/ProcSet 6 0 R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment