Card size is larger than sprue's expected card size of 750.0x1050.0. Cards may overlap.
smarinel opened this issue · 0 comments
smarinel commented
Describe the bug
When using a very basic deck script with all default values I am getting an error when saving via a sprue.
To Reproduce
run this script
require 'squib'
Squib::Deck.new(cards: 9) do
rect
text
save_png
save_sheet sprue: 'letter_poker_card_9up.yml',
prefix: "sprue_example_"
end
Expected behavior
I would expect this data with no layout info to produce cars that fit on the sheet.
Environment
- OS: (Windows 11)
Check the following:
- [X ] I have updated Squib to the latest version.
- [ X] I have checked the Squib issues backlog for something similar
- I have attempted to make a minimal script demonstrating my problem
- I have reviewed the Squib Docs and there's still a problem