squib/spec
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
..
api xlsx, csv, yaml: explode defaults to "qty" (#262) 2019-05-24 11:23:19 -04:00
args Feat/font autoscale (#288) 2019-10-17 11:29:14 -04:00
commands cli: unit tests for advanced template 2017-10-10 10:36:06 -04:00
data Feat/font autoscale (#288) 2019-10-17 11:29:14 -04:00
graphics png: check magic bytes for well-formed files 2018-08-09 13:12:30 -04:00
import data: fix wrap_n_pad bug 2016-12-22 16:31:23 -05:00
samples new methods: safe_zone and cut_zone 2017-10-05 23:36:53 -04:00
sanity samples: reorganize for better sanity 2017-01-04 15:16:11 -05:00
card_spec.rb 👮 newline at end of file 2016-03-17 23:51:37 -04:00
conf_spec.rb samples: reorganize for better sanity 2017-01-04 15:16:11 -05:00
deck_spec.rb deck: flush surface upon exit 2016-11-15 20:02:12 -05:00
layout_parser_spec.rb Layout multiple inheritance works with operators 2018-07-31 15:07:33 -04:00
logger_spec.rb 👮 newline at end of file 2016-03-17 23:51:37 -04:00
spec_helper.rb Feat/font autoscale (#288) 2019-10-17 11:29:14 -04:00
sprue_spec.rb test cleanup 2019-08-06 12:43:16 -04:00