Commit Graph

149 Commits (76ef45cfa448a7f77728b582dca138ed32d0792e)

Author SHA1 Message Date
David Finol 1b7dc6716c Fix broken links (#291)
Noticed the microbadge and guild links at the top were broken. I believe this should fix.
2019-10-21 15:57:18 -04:00
Andy Meneely 79ba584c69 Document in the text method place 2019-10-17 12:11:06 -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 cb66d7c31d
Flip options for sprues (#251) (#277)
* Flipping works, now just need new argument

* Finishing up

* New test data
2019-06-07 15:23:15 -04:00
Karneades d96cf71457 Add sample for color switch in colors docs (#274)
One of the things I used for a current project was a switch to change the color schemes quickly. I added the snippet in [Specifying Colors & Gradients](https://squib.readthedocs.io/en/latest/colors.html) and in the wiki: https://github.com/andymeneely/squib/wiki/Switch-card-background-or-invert-theme.


* Add sample for color switch in colors docs

* Update docs/colors.rst

Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>

* Update docs/colors.rst

Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>

* Update docs/colors.rst

Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>

* Update docs/colors.rst

Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>

* Update docs/colors.rst

Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>

* Update docs/colors.rst

Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>

* Add color switch sample and update docs

* Add color switch sample and update docs
2019-05-29 09:47:29 -04:00
Karneades d89c1b4697 Add commands to rake section for listing tasks 2019-05-28 15:12:21 -04:00
Andy Meneely 3b40df5b45 docs: update installer info 2019-05-28 15:07:24 -04:00
Karneades 718662145b Improve bleed documentation 2019-05-28 15:02:57 -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 8e4ef3ba11 docs: make a stub for travis and github releases
part of #187
2019-05-22 15:16:31 -04:00
Andy Meneely dad91d7855 docs: document running your code 2019-05-22 15:07:46 -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 268b2319da Doc version bump 2018-07-31 21:24: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 248eb2fb91 Layout multiple inheritance works with operators
The case of using relative operators and multiple inheritance is handled now.

Fixes #244
2018-07-31 15:07:33 -04:00
Adam Blinkinsop f83419defc Correct links (duped save_sheet) and grammar. 2018-06-14 14:00:12 -04:00
Andy Meneely 7a15b131af Removing link to TryRuby 2018-05-19 23:06:20 -04:00
Andy Meneely 5244eef556 Docs version bump 2018-03-15 14:49:38 -04:00
Andy Meneely dfb027ac31 I dub thee v0.14 2017-11-06 23:18:04 -05:00
Andy Meneely aee8884a9e sprues: better handling of trim args 2017-11-03 23:02:18 -04:00
Andy Meneely 3bf5eeb102 sprues: now with trim and trim_radius!!
Fixes #235
2017-11-02 23:58:30 -04:00
Andy Meneely 3d02f7de77 docs: some writing for the tutorial 2017-10-20 15:09:26 -04:00
Andy Meneely 929951cddb docs: better cli documentation 2017-10-13 16:17:05 -04:00
Andy Meneely 9ff72b7066 builtin layouts: party 🎉
Based on idea from #7
2017-10-13 15:26:25 -04:00
Andy Meneely 70bd6aae0e projects: add in Project Bolt Rats 2017-10-06 10:42:52 -04:00
Andy Meneely 3b5fdfaf61 move location of built-in layouts 2017-10-06 10:42:33 -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
Clarence "Sparr" Risher 8509ab5728 change x= to *=, add unit tests and improve existing tests 2017-10-05 19:41:43 -04:00
Clarence "Sparr" Risher b3bd8f03d8 add x= and /= to extends values 2017-10-05 19:41:43 -04:00
Andy Meneely 06970b77a6 sprues: polishing up the feature
Lots of examples, some better checking, lots of documentation, sanity tests. Lots of little stuff.
2017-10-05 15:48:57 -04:00
Andy Meneely 17ecf87385 docs: documenting and sampling sprues 2017-08-02 17:11:52 -04:00
Andy Meneely 10e63c845f Rollup of v0.13.x fixes
See v0.13-fixes branch for individual fixes

Conflicts:
	CHANGELOG.md
	lib/squib/version.rb
	squib.gemspec
2017-07-17 11:31:53 -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 c690e08a51 I dub thee v0.13.1 2017-01-06 19:50:11 -05:00
Andy Meneely f2521be199 Onward and upward. 2017-01-04 16:01:35 -05:00
Andy Meneely a98e0b5acc I dub thee v0.13 2017-01-04 15:57:37 -05:00
Andy Meneely f4a9a668c2 docs: cleanup and warning fixes 2017-01-04 15:31:29 -05:00
Andy Meneely f7e5c67a11 docs: add another project
Close #194
2017-01-03 12:07:05 -05:00
Andy Meneely 1ab9be16a4 docs: duplicate option
[skip ci]
2016-12-03 00:12:27 -05:00
Andy Meneely cd53644ee4 Onward and upward. 2016-12-02 23:39:34 -05:00