# # specifying podoff # # Tue Oct 20 17:25:49 JST 2015 # require 'spec_helper' describe Podoff do before :all do #@d0 = Podoff.load('pdfs/udocument0.pdf') #@t0 = Podoff.load('pdfs/t0.pdf') end # describe 'Obj#add_free_text' do # # it 'annotates an object with free text' do # # doc = @t0.dup # page = doc.page(1) # # puts page.source # page.add_free_text(100, 100, 'free text', :helvetica, 15) # # expect(doc.objs.size).to eq(7) # expect(doc.additions.size).to eq(2) # # doc.write('tmp/out.pdf') # end # end end