Skip to content

Commit

Permalink
Allowing overriding of the Producer metadata in a generated PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtimberlake committed May 23, 2012
1 parent d06f81b commit 38fc3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prawn/core/document_state.rb
Expand Up @@ -41,7 +41,7 @@ def populate_pages_from_store(document)
def normalize_metadata(options) def normalize_metadata(options)
options[:info] ||= {} options[:info] ||= {}
options[:info][:Creator] ||= "Prawn" options[:info][:Creator] ||= "Prawn"
options[:info][:Producer] = "Prawn" options[:info][:Producer] ||= "Prawn"


info = options[:info] info = options[:info]
end end
Expand Down

0 comments on commit 38fc3de

Please sign in to comment.