Commit Graph

14 Commits (76ef45cfa448a7f77728b582dca138ed32d0792e)

Author SHA1 Message Date
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 aada86a070 Fix extra stroke on circle, fix #248 2018-07-31 13:27:17 -04:00
Andy Meneely d07fd1f478 regression fix 2017-10-05 20:03:46 -04:00
Damien Salvador 44b899181a save_pdf: right-to-left support
# Conflicts:
#	CHANGELOG.md
2017-10-05 20:00:21 -04:00
Andy Meneely 3ccc6432ab sprues: better validation errors 2017-10-05 11:15:33 -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 824a28c87d Document and test rtl option 2017-03-11 16:39:19 -05:00
Andy Meneely c267e1dda7 spec: rip out flaky mock object test 2017-01-03 12:07:04 -05:00
Andy Meneely e18084d963 deck: flush surface upon exit
Fixes bug #180
2016-11-15 20:02:12 -05: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 bdcd7d94ad save_png: update regression tests 2016-04-25 23:06:29 -04:00
Andy Meneely 87fd3b7b6f samples: update regression test 2016-04-12 13:39:29 -04:00
Andy Meneely bd5e6c92f6 samples: gistify saves 2016-04-11 21:33:15 -04:00