Commit Graph

163 Commits (f27d9df955868987d713fb9ca674810395774d1c)

Author SHA1 Message Date
Andy Meneely 11d550f3df make shorthands more intuitive 2020-11-24 12:16:54 -05:00
Andy Meneely cd3bf1b3f2 add suffix option
closes #268
2020-11-19 00:14:04 -05:00
Andy Meneely e6e2b4dd6e Merge branch 'dev' into issue-299-fancy-units 2020-11-17 23:43:14 -05:00
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...
2020-11-17 23:40:15 -05:00
Andy Meneely 24c9fbd0bf Documenting all the shorthands I know of 2020-11-17 22:32:12 -05:00
Andy Meneely b304bf39e4 starting documenting xywh_shorthands 2020-11-17 22:22:38 -05:00
Matt Cooper f5ca2a1970
Fix a few broken links in the docs (#321)
* Fix broken link to in-box layouts

* fix link to Escape from Scrapland
2020-10-26 10:52:54 -04:00
Andy Meneely 4003e00e2a refactoring to get middle/center, possibly more 2020-10-05 11:27:49 -04: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
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