squib/docs/dsl
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
..
background.rst docs: porting shapes args over 2016-01-28 22:36:38 -05:00
build.rst build_groups: rename to build instead of group 2016-03-20 22:52:04 -04:00
build_groups.rst build_groups: rename to build instead of group 2016-03-20 22:52:04 -04:00
circle.rst switch arc_ccw true/false to arc_direction :counterclockwise/:clockwise 2017-03-10 22:48:21 -05:00
cm.rst docs: port inches and cm to readthedocs 2016-01-29 08:03:34 -05:00
configure.rst dsl: add Squib.configure 2016-11-17 21:11:12 -05:00
csv.rst Add csv example to docs for multiple source files 2019-05-27 09:17:18 -04:00
curve.rst docs: porting shapes args over 2016-01-28 22:36:38 -05:00
cut_zone.rst Update cut zone DSL documentation 2019-05-27 09:15:44 -04:00
data_frame.rst docs: cleanup and warning fixes 2017-01-04 15:31:29 -05:00
deck.rst docs: begin porting from markdown 2016-02-22 11:53:15 -05:00
disable_build.rst docs: overall cleanup 2016-11-15 18:21:37 -05:00
disable_build_globally.rst build groups: add convenience methods 2016-11-24 14:00:23 -05:00
ellipse.rst shapes: rect and ellipse get the angle option 2016-09-09 00:10:43 -04:00
enable_build.rst docs: overall cleanup 2016-11-15 18:21:37 -05:00
enable_build_globally.rst build groups: add convenience methods 2016-11-24 14:00:23 -05:00
grid.rst docs: porting shapes args over 2016-01-28 22:36:38 -05:00
hand.rst docs: porting hand, showcase, and other docs over 2016-01-29 23:13:42 -05:00
hint.rst docs: png and hint ported over 2016-02-07 22:56:19 -05:00
inches.rst docs: port inches and cm to readthedocs 2016-01-29 08:03:34 -05:00
index.rst docs: minor tweaks 2016-02-24 00:20:40 -05:00
line.rst docs: porting shapes args over 2016-01-28 22:36:38 -05:00
mm.rst units: support mm 2016-06-27 11:10:39 -04:00
png.rst docs: porting more README and save method 2016-02-08 16:54:48 -05:00
polygon.rst docs: document n-sidedness parameter (aka "n") 2018-07-31 21:53:43 -04:00
rect.rst shapes: rect and ellipse get the angle option 2016-09-09 00:10:43 -04:00
safe_zone.rst docs: document safe_zone and cut_zone 2017-10-06 00:05:21 -04:00
save.rst docs: porting more README and save method 2016-02-08 16:54:48 -05:00
save_pdf.rst Merge in PR #272 2019-06-07 15:43:40 -04:00
save_png.rst docs: port more saves, other revisions 2016-02-12 00:23:42 -05:00
save_sheet.rst sprues: better handling of trim args 2017-11-03 23:02:18 -04:00
showcase.rst showcase: trim_radius still defaults to 38px 2019-05-24 10:49:55 -04:00
star.rst docs: document n-sidedness parameter (aka "n") 2018-07-31 21:53:43 -04:00
svg.rst svg: document rasterization on mask (#192) 2018-10-19 16:14:26 -04:00
text.rst Feat/font autoscale (#288) 2019-10-17 11:29:14 -04:00
triangle.rst docs: document x3,y3 2016-05-24 22:17:20 -04:00
use_layout.rst feature: add use_layout method to load layouts at runtime 2016-03-16 17:05:07 -04:00
xlsx.rst docs: including more code samples 2016-11-15 18:08:52 -05:00
yaml.rst Fix typos in the yaml documentation. (#253) 2018-09-06 12:26:15 -04:00