* 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 |
||
|---|---|---|
| .. | ||
| _output | ||
| autoscale_font | ||
| backend | ||
| build_groups | ||
| colors | ||
| config | ||
| data | ||
| images | ||
| intro | ||
| layouts | ||
| project | ||
| proofs | ||
| ranges | ||
| saves | ||
| shapes | ||
| sprues | ||
| text | ||
| units | ||
| README.md | ||
| basic.rb | ||
| hello_world.rb | ||
| shiny-purse.png | ||
| spanner.svg | ||
README.md
Squib Samples
In here we have a massive library of Squib samples. We try to exercise as many options as possible here as these samples also serve as Squib's regression test suite.
If you have one to contribute, file an issue!
What's with the underscores?
Normally you don't start a filename with an underscore (e.g. _text.rb), but to make it easier to find the code itself on GitHub, we've renamed the files so they sort to the top of the list.