squib/lib/squib
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 Feat/font autoscale (#288) 2019-10-17 11:29:14 -04:00
args Feat/font autoscale (#288) 2019-10-17 11:29:14 -04:00
builtin docs: add sprues for #247 2018-07-31 16:14:11 -04:00
commands Fix make_sprue unit_conversion FROM mm to other. (#260) 2019-05-22 13:21:24 -04:00
graphics Feat/font autoscale (#288) 2019-10-17 11:29:14 -04:00
import data: fix wrap_n_pad bug 2016-12-22 16:31:23 -05:00
sprues Flip options for sprues (#251) (#277) 2019-06-07 15:23:15 -04:00
card.rb Fix extra stroke on circle, fix #248 2018-07-31 13:27:17 -04:00
conf.rb dsl: add Squib.configure 2016-11-17 21:11:12 -05:00
constants.rb Respect DPI settings in text, add pt unit 2017-10-05 16:37:46 -04:00
deck.rb deck: flush surface upon exit 2016-11-15 20:02:12 -05:00
layout_parser.rb Layout multiple inheritance works with operators 2018-07-31 15:07:33 -04:00
progress.rb Rubocop: TrailingBlankLines 2014-10-29 12:10:37 -04:00
sample_helpers.rb Respect DPI settings in text, add pt unit 2017-10-05 16:37:46 -04:00
version.rb Onward and upward 2019-10-17 11:15:22 -04:00