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
d169f9f90f
samples and docs for placeholders
2021-10-13 00:18:27 -04:00
Andy Meneely
9e49b4053a
refining and getting tests for placeholder
2021-10-12 23:40:08 -04:00
Andy Meneely
b4d6b2aa0a
implement placeholder functionality
...
needs testing but almost there
2021-10-12 23:13:47 -04:00
Andy Meneely
c795852fa8
Allow negative coordinates in sprue coordinates
...
Fixes #336
2021-08-11 15:00:54 -04:00
Andy Meneely
27b3be4744
ok last tweaks i swear
2021-07-23 11:52:13 -04:00
Andy Meneely
9ea66021d3
refine drop shadows
2021-07-23 11:27:04 -04:00
Andy Meneely
b25f0d535b
drop shadows! they're a thing now.
...
Fixes #306 , #264
2021-07-23 11:01:41 -04:00
Andy Meneely
d92aab4bf3
add fonts methods
...
Fixes #334
2021-07-22 15:09:45 -04:00
Andy Meneely
f8c0e1b129
rows arg in save_sheet is always respected
...
fixes #332
2021-05-13 22:39:52 -04:00
Andy Meneely
2a3ce44cc0
i dub thee v0.16
2020-11-24 23:19:03 -05:00
Andy Meneely
11d550f3df
make shorthands more intuitive
2020-11-24 12:16:54 -05:00
Andy Meneely
4f7b397dee
cleanup
2020-11-19 01:17:52 -05:00
Andy Meneely
cd3bf1b3f2
add suffix option
...
closes #268
2020-11-19 00:14:04 -05:00
Andy Meneely
0043144002
update sanity test
2020-11-18 00:02:41 -05:00
Andy Meneely
93a0d56eda
woof this was a big change but ok
...
Add cell_px everywhere we have dpi
This might be smelly. Sorry, Mr. Fowler and Prof. Frens...
2020-11-17 23:40:15 -05:00
Andy Meneely
b304bf39e4
starting documenting xywh_shorthands
2020-11-17 22:22:38 -05:00
Andy Meneely
82afdf1608
unit testing, more samples
2020-11-17 14:17:37 -05:00
Andy Meneely
f8eaf757a2
Lots more implementation
...
* implement middle+/-
* cells unit
* samples for both
* moved shorthands to the units/ field
Note: cell_px is currently unconfigurable
2020-11-17 12:17:48 -05:00
Andy Meneely
2969957c5b
shorthands for xywh! initial implementation
2020-10-06 15:58:57 -04:00
Andy Meneely
4003e00e2a
refactoring to get middle/center, possibly more
2020-10-05 11:27:49 -04:00
Andy Meneely
0de6b31ad7
Deal with extra/no page issue with sprues
...
Also rename things so we number at zero.
Fixes #320
2020-10-04 15:53:16 -04:00
Andy Meneely
b4f3dbc5eb
fix default Qty field
2020-10-03 01:34:14 -04:00
Andy Meneely
0d4c8b5de0
clean out some out of date sanity tests
2020-10-03 01:33:54 -04:00
Andy Meneely
ca96a0e857
Merge branch 'dev' into args-refactor-forrealsies
2020-10-02 09:06:55 -04:00
Andy Meneely
2f08200403
cleanup test
2020-09-29 11:41:27 -04:00
Andy Meneely
272892d358
text method migrated!
2020-05-16 20:00:45 -04:00
Andy Meneely
9ef4afc2e6
converted the rest!
2020-03-20 23:07:14 -04:00
Andy Meneely
76ef45cfa4
documentation specs, beginning cleaner conversion
2020-03-13 10:38:34 -04:00
Andy Meneely
c473e07c2e
don't need this anymore
2020-03-11 17:15:55 -04:00
Andy Meneely
871674c909
built a nifty, useful error message thingy
2020-03-09 09:52:22 -04:00
Andy Meneely
518c763131
Rewritten autoscale sample
2019-10-17 12:04:46 -04:00
Andy Meneely
d00b881913
don't need this
2019-10-17 12:01:02 -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
4db85cb134
update sanity expectation
2019-08-06 12:47:00 -04:00
Andy Meneely
cb66d7c31d
Flip options for sprues ( #251 ) ( #277 )
...
* Flipping works, now just need new argument
* Finishing up
* New test data
2019-06-07 15:23:15 -04:00
Andy Meneely
a40c4d7dc4
Cleaner handling of SVG ID
2019-05-29 14:20:03 -04:00
Karneades
d96cf71457
Add sample for color switch in colors docs ( #274 )
...
One of the things I used for a current project was a switch to change the color schemes quickly. I added the snippet in [Specifying Colors & Gradients](https://squib.readthedocs.io/en/latest/colors.html ) and in the wiki: https://github.com/andymeneely/squib/wiki/Switch-card-background-or-invert-theme .
* Add sample for color switch in colors docs
* Update docs/colors.rst
Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>
* Update docs/colors.rst
Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>
* Update docs/colors.rst
Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>
* Update docs/colors.rst
Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>
* Update docs/colors.rst
Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>
* Update docs/colors.rst
Co-Authored-By: Andy Meneely <andy.meneely@gmail.com>
* Add color switch sample and update docs
* Add color switch sample and update docs
2019-05-29 09:47:29 -04:00
Andy Meneely
827f998564
Merge branch 'master' into dev
2019-05-27 09:18:14 -04:00
Karneades
1fb9548637
Improve rakefile example to match docs
...
Improve example to match the example in the docs [1] and fix the test task name.
[1] https://squib.readthedocs.io/en/latest/build_groups.html
2019-05-27 09:16:06 -04:00
Andy Meneely
89c0e6625d
xlsx, csv, yaml: explode defaults to "qty" ( #262 )
...
Not "Qty"
2019-05-24 11:23:19 -04:00
Andy Meneely
8938aa350a
samples: document ways of using prefix
2019-05-22 16:01:48 -04:00
Andy Meneely
e3950267dc
colors: update sanity tests for new colors
2019-05-22 14:36:08 -04:00
Andy Meneely
9b98163608
docs: add sprues for #247
...
Also correct word_char for #237
2018-07-31 16:14:11 -04:00
Andy Meneely
3d1f1ff989
Fix extra page for PDF sprues
...
Fixes #246
2018-07-31 13:54:14 -04:00
Andy Meneely
aada86a070
Fix extra stroke on circle, fix #248
2018-07-31 13:27:17 -04:00
Andy Meneely
2020b5a67a
sanity: fixing lots of tests
...
apparently i totally borked a lot of sanity tests. should be fixed now.
BORK BORK BORK
2017-11-06 23:09:48 -05:00
Andy Meneely
f7407d4b6c
tweak to samples
2017-11-04 19:54:49 -04:00
Andy Meneely
9a8994c26e
samples: remove unicode
...
Unfortunately too hard to maintain with ever-changing fonts. I might resurrect this in another form another day
2017-11-04 19:42:42 -04:00
Andy Meneely
aee8884a9e
sprues: better handling of trim args
2017-11-03 23:02:18 -04:00