Commit Graph

78 Commits (4b7ea50d423512e7aad7af38afa4598cd7b755ba)

Author SHA1 Message Date
Andy Meneely d385e205a5 Fix bugs and cleanup to save_sheet 2021-10-22 23:15:11 -04:00
Andy Meneely 969f16633e
Add rotate option for save_sheet (#301) (#345)
* Initial work on rotate for save_sheet

* Feature done! Maybe?
2021-10-22 01:26:03 -04:00
Andy Meneely d169f9f90f samples and docs for placeholders 2021-10-13 00:18:27 -04:00
Olivier a89332ba1a
Update svg.rst (#337)
Typo
2021-08-11 12:50:58 -04:00
Andy Meneely 27b3be4744 ok last tweaks i swear 2021-07-23 11:52:13 -04:00
Andy Meneely 6463313959 one last tweak to docs 2021-07-23 11:28:48 -04:00
Andy Meneely 9ea66021d3 refine drop shadows 2021-07-23 11:27:04 -04:00
Andy Meneely b25f0d535b drop shadows! they're a thing now.
Fixes #306, #264
2021-07-23 11:01:41 -04:00
Andy Meneely d92aab4bf3 add fonts methods
Fixes #334
2021-07-22 15:09:45 -04:00
Andy Meneely cd3bf1b3f2 add suffix option
closes #268
2020-11-19 00:14:04 -05:00
Andy Meneely 24c9fbd0bf Documenting all the shorthands I know of 2020-11-17 22:32:12 -05:00
Andy Meneely 845778a574 cleanup requires and docs 2020-10-02 14:22:14 -04:00
Andy Meneely 9b0602a50c ported xlsx over 2020-10-02 13:44:42 -04:00
Andy Meneely 272892d358 text method migrated! 2020-05-16 20:00:45 -04:00
Andy Meneely 9ef4afc2e6 converted the rest! 2020-03-20 23:07:14 -04:00
Andy Meneely 4b664d2061 converting a bunch over now, new rspec tests 2020-03-18 14:10:37 -04:00
Andy Meneely 77a694f797 partway through the conversion 2020-03-16 16:38:13 -04:00
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
2019-10-17 11:29:14 -04:00
Andy Meneely 1accadfc30 Merge in PR #272
Fix sheet size for 1-card-per-sheet PDFs and adjust coordinates when
using trim #272
2019-06-07 15:43:40 -04:00
Andy Meneely 827f998564 Merge branch 'master' into dev 2019-05-27 09:18:14 -04:00
Karneades cfbcdfeeec Add csv example to docs for multiple source files 2019-05-27 09:17:18 -04:00
Karneades 30673f712d Update cut zone DSL documentation
* Fix margin to standard 1/8* which was intended according to the ruby file used in the examples.
* Fix wording in margin
2019-05-27 09:15:44 -04:00
Andy Meneely 8c4c0e0137 showcase: trim_radius still defaults to 38px
docs reflect that now too
2019-05-24 10:49:55 -04:00
Andy Meneely 453c8ec64d svg: document rasterization on mask (#192) 2018-10-19 16:14:26 -04:00
Adam Blinkinsop f83f8a0652 Fix typos in the yaml documentation. (#253) 2018-09-06 12:26:15 -04:00
Andy Meneely 8f15c21dcf docs: document n-sidedness parameter (aka "n") 2018-07-31 21:53:43 -04:00
Andy Meneely 9b98163608 docs: add sprues for #247
Also correct word_char for #237
2018-07-31 16:14:11 -04:00
Andy Meneely aee8884a9e sprues: better handling of trim args 2017-11-03 23:02:18 -04:00
Andy Meneely 9eaa27ce3e docs: document safe_zone and cut_zone 2017-10-06 00:05:21 -04:00
Damien Salvador 44b899181a save_pdf: right-to-left support
# Conflicts:
#	CHANGELOG.md
2017-10-05 20:00:21 -04:00
Andy Meneely 17ecf87385 docs: documenting and sampling sprues 2017-08-02 17:11:52 -04:00
Andy Meneely f140ff32fa Cleanup and tests of yaml method 2017-04-15 21:25:34 -04:00
Clarence "Sparr" Risher 695bd8fb77 add save_sheet rtl option for duplex printing 2017-03-11 16:28:20 -05:00
Clarence "Sparr" Risher 1a58adb288 switch arc_ccw true/false to arc_direction :counterclockwise/:clockwise 2017-03-10 22:48:21 -05:00
Clarence "Sparr" Risher 573a1e9e30 implement circle arc feature, no tests 2017-03-10 22:48:21 -05:00
Andy Meneely f4a9a668c2 docs: cleanup and warning fixes 2017-01-04 15:31:29 -05:00
Andy Meneely 1ab9be16a4 docs: duplicate option
[skip ci]
2016-12-03 00:12:27 -05:00
Andy Meneely f4d94240e0 import: data frames are here!
Implemented a whole new class to represent the data that comes in from CSV and XLSX. See docs for more info.

Closes #153
2016-12-02 00:17:57 -05:00
Andy Meneely e53e47dde7 build groups: add convenience methods 2016-11-24 14:00:23 -05:00
Andy Meneely 56b5a711e4 dsl: add Squib.configure
I ended up adding this one on a whim, but it feels like a long time coming. We need cleaner support for Rakefiles, and this is a good step toward that I think.
2016-11-17 21:11:12 -05:00
Andy Meneely dfedad0fed docs: cleanup and error silencing 2016-11-16 12:01:33 -05:00
Andy Meneely c9440ec57c showcase: use correct width&height vars
Fixes #179
2016-11-15 20:28:22 -05:00
Andy Meneely 8604ebd684 docs: overall cleanup 2016-11-15 18:21:37 -05:00
Andy Meneely c1b8cf14ab docs: including more code samples 2016-11-15 18:08:52 -05:00
Andy Meneely 21e09e45c7 docs: add warning about printer behavior 2016-11-03 15:05:49 -04:00
Andy Meneely 30395aee56 save_pdf: add crop marks
Should satisfy #123

Needs some testing on printers but the functionality is there.
2016-11-01 12:12:03 -04:00
Andy Meneely d2eae64da2 shapes: rect and ellipse get the angle option
Closes #162
2016-09-09 00:10:43 -04:00
Andy Meneely a35398a466 text: document lack of :scale behavior on embeds
Contributes to #160
2016-09-08 11:00:36 -04:00
Andy Meneely 4ea30c63e2 units: support mm
Closes #161
2016-06-27 11:10:39 -04:00
Andy Meneely 0b80cd9199 docs: document x3,y3 2016-05-24 22:17:20 -04:00