Andy Meneely
ea9a749d52
fix capitalization issue
5 years ago
Andy Meneely
93a0d56eda
woof this was a big change but ok
...
Add cell_px everywhere we have dpi
This might be smelly. Sorry, Mr. Fowler and Prof. Frens...
5 years ago
Andy Meneely
b304bf39e4
starting documenting xywh_shorthands
5 years ago
Andy Meneely
82afdf1608
unit testing, more samples
5 years ago
Andy Meneely
f8eaf757a2
Lots more implementation
...
* implement middle+/-
* cells unit
* samples for both
* moved shorthands to the units/ field
Note: cell_px is currently unconfigurable
5 years ago
Andy Meneely
2969957c5b
shorthands for xywh! initial implementation
5 years ago
Andy Meneely
4003e00e2a
refactoring to get middle/center, possibly more
5 years ago
Andy Meneely
0de6b31ad7
Deal with extra/no page issue with sprues
...
Also rename things so we number at zero.
Fixes #320
5 years ago
Andy Meneely
845778a574
cleanup requires and docs
5 years ago
Andy Meneely
5d3ead1284
ported csv and yaml over
5 years ago
Andy Meneely
9b0602a50c
ported xlsx over
5 years ago
Andy Meneely
9dfc3bf6c9
png returns save_png
5 years ago
Andy Meneely
272892d358
text method migrated!
6 years ago
Adam Blinkinsop
20f2063e67
Keyword arguments need ** (bare is deprecated) ( #303 )
...
* Fix typos in the yaml documentation.
* Fix keyword params deprecation warning.
.../squib/lib/squib/api/data.rb:42: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/blinks/.rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/csv.rb:679: warning: The called method `parse' is defined here
6 years ago
Andy Meneely
3590280c98
don't need this
6 years ago
Andy Meneely
9ef4afc2e6
converted the rest!
6 years ago
Andy Meneely
4b664d2061
converting a bunch over now, new rspec tests
6 years ago
Andy Meneely
21bee3a3cb
cleanup module definitions
6 years ago
Andy Meneely
77a694f797
partway through the conversion
6 years ago
Andy Meneely
70b3c0b136
cleaner method sigs
6 years ago
Andy Meneely
76ef45cfa4
documentation specs, beginning cleaner conversion
6 years ago
Andy Meneely
750cb40267
cleanup
6 years ago
Andy Meneely
02bf443abf
cleanup
6 years ago
Andy Meneely
6774f83b00
cleaning up
6 years ago
Andy Meneely
51d425caa7
colored text!
6 years ago
Andy Meneely
871674c909
built a nifty, useful error message thingy
6 years ago
Mirko K
6d57b3e8c1
Feat/font autoscale ( #288 )
...
* PoC font autosize feature
* Take enumerables or 'auto' keyword for autoscaling
* Allo enumerables of font_size per card, where the largest font size that does not ellipsize is chosen
* Use ellipsize: :autoscale keyword to determine font autosizing
* Use binary search to find the correct font size
* Consider new ellipsize option in testcase
* Document ellipsize: :autoscale option
* Add ellipsize: :autoscale sample to text sample
* Fix double multiplication with Pango::SCALE
* Scale embedded images with text when autoscaling
* Remove stray semicolon
* Return dummy value for FontDescription.size in mock_cairo
* Update regression test data for autoscale feature.
* Add ellipsize: :autoscale example to existing font_autoscale sample
* Add missing :autoscale to list of options in documentation
6 years ago
Andy Meneely
43cca582a6
Onward and upward
6 years ago
Andy Meneely
28f6cdcbcb
I dub thee v0.15.3
6 years ago
Andy Meneely
2eee20c0cc
I dub thee v0.15.2
6 years ago
Andy Meneely
6b705ab8fb
Onward and upward
6 years ago
Andy Meneely
eb0bebe149
I dub thee v0.15.0
6 years ago
Andy Meneely
1accadfc30
Merge in PR #272
...
Fix sheet size for 1-card-per-sheet PDFs and adjust coordinates when
using trim #272
7 years ago
Andy Meneely
cb66d7c31d
Flip options for sprues ( #251 ) ( #277 )
...
* Flipping works, now just need new argument
* Finishing up
* New test data
7 years ago
Andy Meneely
a40c4d7dc4
Cleaner handling of SVG ID
7 years ago
Andy Meneely
89c0e6625d
xlsx, csv, yaml: explode defaults to "qty" ( #262 )
...
Not "Qty"
7 years ago
Andy Meneely
8c4c0e0137
showcase: trim_radius still defaults to 38px
...
docs reflect that now too
7 years ago
Andy Meneely
9ceb010402
save_pdf: default trim_radius to 0, not 38 ( #270 )
7 years ago
Felix Wolfsteller
a6675b2e60
Fix make_sprue unit_conversion FROM mm to other. ( #260 )
...
Before, val_mm resulted in nil which broke execution in evaluation of
division operation ("/").
Fixes #259 .
7 years ago
Felix Wolfsteller
1d307fe6e0
Fix make_sprue unit_conversion FROM mm to other. ( #260 )
...
Before, val_mm resulted in nil which broke execution in evaluation of
division operation ("/").
Fixes #259 .
7 years ago
Andy Meneely
5a8b3c5fcd
png: check magic bytes for well-formed files
...
Closes #$250
7 years ago
Andy Meneely
48bb71d1c0
Onward and upward
7 years ago
Andy Meneely
9b98163608
docs: add sprues for #247
...
Also correct word_char for #237
7 years ago
Adam Blinkinsop
46ea8d714a
Sprues for DriveThruCards and printplaygames ( #247 )
...
* Correct links (duped save_sheet) and grammar.
* Create a sprue for https://www.drivethrucards.com/
* Create a sprue for printplaygames.com poker cards.
7 years ago
Andy Meneely
248eb2fb91
Layout multiple inheritance works with operators
...
The case of using relative operators and multiple inheritance is handled now.
Fixes #244
7 years ago
Andy Meneely
3d1f1ff989
Fix extra page for PDF sprues
...
Fixes #246
7 years ago
Andy Meneely
1bc9e3f19e
Working on a bug fix release
7 years ago
Andy Meneely
aada86a070
Fix extra stroke on circle, fix #248
7 years ago
Andy Meneely
53ba8c6d4d
Onward and upward
8 years ago
Andy Meneely
faba15766f
I dub thee v0.14.1
8 years ago