lib/prawn/document.rb in prawn-0.2.0 vs lib/prawn/document.rb in prawn-0.2.1

- old
+ new

@@ -10,10 +10,11 @@ require "prawn/document/page_geometry" require "prawn/document/bounding_box" require "prawn/document/text" require "prawn/document/table" require "prawn/document/internals" +require "prawn/document/span" module Prawn class Document include Prawn::Document::Internals @@ -76,10 +77,10 @@ # pdf = Prawn::Document.new(:page_size => "A4", :page_layout => :landscape) # def initialize(options={},&block) Prawn.verify_options [:page_size, :page_layout, :on_page_start, :on_page_stop, :left_margin, :right_margin, :top_margin, - :bottom_margin, :skip_page_creation, :compress ], options + :bottom_margin, :skip_page_creation, :compress, :skip_encoding, :text_options ], options @objects = [] @info = ref(:Creator => "Prawn", :Producer => "Prawn") @pages = ref(:Type => :Pages, :Count => 0, :Kids => []) @root = ref(:Type => :Catalog, :Pages => @pages)