Commit Graph

1000 Commits (d00b8819137188110f2d5aae24d088f0dfc0df80)

Author SHA1 Message Date
Andy Meneely d00b881913 don't need this 2019-10-17 12:01:02 -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 43cca582a6 Onward and upward 2019-10-17 11:15:22 -04:00
Andy Meneely 28f6cdcbcb I dub thee v0.15.3 2019-10-17 11:11:37 -04:00
Andy Meneely 2eee20c0cc I dub thee v0.15.2 2019-09-26 16:03:19 -04:00
Andy Meneely 13282fc289 Documenting Docker a little 2019-09-26 15:31:31 -04:00
Andy Meneely 4f0643dd37 Onward and upward 2019-08-27 17:38:36 -04:00
Andy Meneely 74b3dac5c3 Bump pango et al. to 3.3.7 2019-08-27 15:45:43 -04:00
Andy Meneely 6b705ab8fb Onward and upward 2019-08-06 14:09:20 -04:00
Andy Meneely eb0bebe149 I dub thee v0.15.0 2019-08-06 13:36:31 -04:00
Andy Meneely a6dd6d76ea fix travis 2019-08-06 13:35:25 -04:00
Andy Meneely 4db85cb134 update sanity expectation 2019-08-06 12:47:00 -04:00
Andy Meneely f638fec87a test cleanup 2019-08-06 12:43:16 -04:00
Andy Meneely f9c8b37222 README: bump min ruby to 2.4 2019-08-06 12: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
Andy Meneely a40c4d7dc4 Cleaner handling of SVG ID 2019-05-29 14:20:03 -04:00
Andy Meneely 1c3b39b59d travis: remove caching 2019-05-29 11:03:03 -04:00
Andy Meneely b82a4a838a changelog: new sample for color switching 2019-05-29 09:48:27 -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
Andy Meneely 74dfd854e8 travis: don't cache bundler 2019-05-28 16:58:39 -04:00
Andy Meneely 5ac04da5c9 Updating travis 2019-05-28 15:55:54 -04:00
Karneades d89c1b4697 Add commands to rake section for listing tasks 2019-05-28 15:12:21 -04:00
Andy Meneely de9ab96a19 appveyor: fix build script 2019-05-28 15:11:32 -04:00
Andy Meneely abe75057df appveyor: update ruby versions 2019-05-28 15:10:07 -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 a98a0dde58 Gem requires 2.4+ 2019-05-27 09:27:21 -04:00
Andy Meneely 845efaa795 travis: drop 2.3 as well 2019-05-27 09:25:09 -04:00
Andy Meneely 3ed5544fc5 travis: drop ruby 2.2 2019-05-27 09:21:29 -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 1fb9548637 Improve rakefile example to match docs
Improve example to match the example in the docs [1] and fix the test task name.

[1] https://squib.readthedocs.io/en/latest/build_groups.html
2019-05-27 09:16:06 -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 89c0e6625d xlsx, csv, yaml: explode defaults to "qty" (#262)
Not "Qty"
2019-05-24 11:23:19 -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 9ceb010402 save_pdf: default trim_radius to 0, not 38 (#270) 2019-05-24 10:36:42 -04:00
Andy Meneely 8938aa350a samples: document ways of using prefix 2019-05-22 16:01:48 -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 5e571c594e bump highline dep 2019-05-22 15:12:36 -04:00
Andy Meneely dad91d7855 docs: document running your code 2019-05-22 15:07:46 -04:00
Andy Meneely e3950267dc colors: update sanity tests for new colors 2019-05-22 14:36:08 -04:00
Andy Meneely 92083b881f bump deps 2019-05-22 13:42:44 -04:00
Andy Meneely cc05060ffd Merge remote-tracking branch 'origin/master' into dev 2019-05-22 13:22:51 -04:00
Andy Meneely e292ee0107 docker: starting out a dockerfile 2019-05-22 13:21:24 -04:00
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.
2019-05-22 13:21:24 -04:00
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.
2019-01-16 16:25:28 -05:00
Andy Meneely e32a90c79e deps: bump to latest 2018-12-03 15:03:01 -05:00
Andy Meneely fab7be130c Merge branch 'dev' 2018-10-19 16:14:55 -04:00
Andy Meneely 453c8ec64d svg: document rasterization on mask (#192) 2018-10-19 16:14:26 -04:00