Sha256: d83b714c34835673bc06c09eb351fa549d997640681b35cbb01228e086a9b12f
Contents?: true
Size: 575 Bytes
Versions: 6
Compression:
Stored size: 575 Bytes
Contents
# # 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
Version data entries
6 entries across 6 versions & 1 rubygems