save_pdf: add crop marks

Should satisfy #123

Needs some testing on printers but the functionality is there.
This commit is contained in:
Andy Meneely
2016-11-01 12:12:03 -04:00
parent f94f710040
commit 30395aee56
11 changed files with 1731 additions and 526 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ describe Squib::Deck, '#save_pdf' do
expect(cxt).to receive(:target).and_return(target)
expect(target).to receive(:finish).once
args = { file: 'foo.pdf', dir: '_out', margin: 75, gap: 5, trim: 37 }
args = { file: 'foo.pdf', dir: '_out', crop_marks: false,
margin: 75, gap: 5, trim: 37 }
deck.save_pdf(args)
end