Deal with extra/no page issue with sprues

Also rename things so we number at zero.

Fixes #320
This commit is contained in:
Andy Meneely
2020-10-04 15:53:16 -04:00
parent b4f3dbc5eb
commit 0de6b31ad7
16 changed files with 35 additions and 5 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

+1
View File
@@ -17,5 +17,6 @@ Squib::Deck.new(width: '50mm', height: '70mm', cards: 9) do
drivethrucards_1up.yml
).each do |builtin|
save_sheet sprue: builtin, prefix: "sprue_#{builtin}_"
save_pdf sprue: builtin, file: "sprue_#{builtin}_"
end
end
+4 -1
View File
@@ -22,6 +22,9 @@ Squib::Deck.new(width: '2.5in', height: '3.5in', cards: 8) do
text str: strings,font: 'Sans 32', align: :center, valign: :middle,
height: :deck, width: :deck
save_sheet prefix: 'foldable_',
sprue: 'letter_poker_foldable_8up.yml'
sprue: 'letter_poker_foldable_8up.yml' # built-in sprue
save_pdf file: 'foldable.pdf',
sprue: 'letter_poker_foldable_8up.yml' # built-in sprue
end

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 196 KiB

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 200 KiB

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB