respect crop_marks config option when saving PDF

This commit is contained in:
Cory Li
2017-09-01 09:16:25 -04:00
committed by Andy Meneely
parent 7d23ec70f4
commit 6149023dbb
+1 -1
View File
@@ -38,7 +38,7 @@ module Squib
bar.increment bar.increment
cc.reset_clip cc.reset_clip
cc.translate(-x, -y) cc.translate(-x, -y)
draw_crop_marks(cc, x, y, sheet) draw_crop_marks(cc, x, y, sheet) if sheet.crop_marks
x += card.width + sheet.gap - 2 * sheet.trim x += card.width + sheet.gap - 2 * sheet.trim
if x > (sheet.width - card_width - sheet.margin) if x > (sheet.width - card_width - sheet.margin)
x = sheet.margin x = sheet.margin