Commit Graph

11 Commits (c9e6508c66fdf30aecce864b703143083361fe42)

Author SHA1 Message Date
Andy Meneely 531c831684 Update regression spec 2021-10-25 22:31:23 -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 abe772f804 update regressions 2019-10-17 13:52:44 -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 aada86a070 Fix extra stroke on circle, fix #248 2018-07-31 13:27:17 -04:00
Seh Hui, Leong f800c131ff Respect DPI settings in text, add pt unit
This has the compatibility impact that all font sizes should be divided by 3 to maintain their same sizes.

Based on PR #225. Thanks @felixleong!!

Conflicts:
	bin/squib
	lib/squib/graphics/text.rb
2017-10-05 16:37:46 -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 1cdc9c0d71 samples: reorganize for better sanity
Converted to a more consistent organization of each folder for groups of samples

Contributes to #118
2017-01-04 15:16:11 -05:00
Andy Meneely e18084d963 deck: flush surface upon exit
Fixes bug #180
2016-11-15 20:02:12 -05:00
Andy Meneely d2eae64da2 shapes: rect and ellipse get the angle option
Closes #162
2016-09-09 00:10:43 -04:00
Andy Meneely dd32e3bfae samples: cleanup regression tests 2016-04-11 21:13:34 -04:00