Closed sparr closed 7 years ago
I would love to include these directly to Squib actually. I've been meaning to do it myself. Go ahead and include it in: https://github.com/andymeneely/squib/tree/master/lib/squib/layouts.
My goal for the next few months is to provide some presets and global defaults for sizes, etc. too. But that's a bigger feature.
Excellent! I'm thinking maybe there should be a subdir of layouts for each publisher? lib/squib/layouts/thegamecrafter/ and drivethrucards/ and printerstudio/ and ...
Also, related to that, is there or can there be a way for the layout to specify the dimensions of the whole card, so that it doesn't have to be specified in Deck.new alongside the layout?
Also, for a given layout there will be some ruby code required to draw the cut and safe lines. I'm thinking of defining a standard naming scheme for those lines (or otherwise, as under discussion in #212), then providing new DSL commands to draw those elements. Possibly separate new commands for cut and safe, possibly one with a flag for which to draw?
I am considering building a new gem that would have layouts for all the TheGameCrafter components, including safe and cut lines. Before I do that, I want to get feedback on whether or not adding that information/functionality directly to Squib would be welcome?