From 7d23ec70f4e1fe45e503efb737ac88d2c8981eac Mon Sep 17 00:00:00 2001 From: Noah Callaway Date: Sat, 12 Aug 2017 12:41:26 -0700 Subject: [PATCH 1/2] Update comment in header Just a tiny irrelevant change to update the header comment to note the correct genre for this file. --- lib/squib/layouts/economy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/squib/layouts/economy.yml b/lib/squib/layouts/economy.yml index 00f4c37..cfb9f58 100644 --- a/lib/squib/layouts/economy.yml +++ b/lib/squib/layouts/economy.yml @@ -1,4 +1,4 @@ -#This layout inspired by popular fantasy games +#This layout inspired by popular economy games title: x: 90 y: 90 From 6149023dbbac48db98d2c96b9f947f926b4916a8 Mon Sep 17 00:00:00 2001 From: Cory Li Date: Thu, 31 Aug 2017 15:26:40 -0700 Subject: [PATCH 2/2] respect `crop_marks` config option when saving PDF --- lib/squib/graphics/save_pdf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/squib/graphics/save_pdf.rb b/lib/squib/graphics/save_pdf.rb index c326027..32d8eaf 100644 --- a/lib/squib/graphics/save_pdf.rb +++ b/lib/squib/graphics/save_pdf.rb @@ -38,7 +38,7 @@ module Squib bar.increment cc.reset_clip 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 if x > (sheet.width - card_width - sheet.margin) x = sheet.margin