Commit Graph

110 Commits (89c0e6625d1a7b4519376b58dc3f1edf3efb7e7f)

Author SHA1 Message Date
Andy Meneely 89c0e6625d xlsx, csv, yaml: explode defaults to "qty" (#262)
Not "Qty"
2019-05-24 11:23:19 -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 498a8224e7 samples: fix to be more consistent 2017-10-06 11:00:14 -04:00
Andy Meneely 2362e189d7 new methods: safe_zone and cut_zone 2017-10-05 23:36:53 -04:00
Andy Meneely d07fd1f478 regression fix 2017-10-05 20:03:46 -04:00
Damien Salvador 44b899181a save_pdf: right-to-left support
# Conflicts:
#	CHANGELOG.md
2017-10-05 20:00:21 -04:00
Clarence Sparr Risher 2a86b8f215 fix save_sheet to calculate rows correctly based on range
Based on PR #207
2017-10-05 19:38:50 -04:00
Seh Hui, Leong f800c131ff Respect DPI settings in text, add pt unit
This has the compatibility impact that all font sizes should be divided by 3 to maintain their same sizes.

Based on PR #225. Thanks @felixleong!!

Conflicts:
	bin/squib
	lib/squib/graphics/text.rb
2017-10-05 16:37:46 -04:00
Andy Meneely 3ccc6432ab sprues: better validation errors 2017-10-05 11:15:33 -04:00
Andy Meneely 10e63c845f Rollup of v0.13.x fixes
See v0.13-fixes branch for individual fixes

Conflicts:
	CHANGELOG.md
	lib/squib/version.rb
	squib.gemspec
2017-07-17 11:31:53 -04:00
Andy Meneely 824a28c87d Document and test rtl option 2017-03-11 16:39:19 -05:00
Andy Meneely a55300f844 more tests for circle arc
Also document it in the CHANGELOG.
2017-03-10 22:48:22 -05:00
Clarence "Sparr" Risher ebba554b5d update existing tests for new functionality 2017-03-10 22:48:21 -05:00
Andy Meneely 1cdc9c0d71 samples: reorganize for better sanity
Converted to a more consistent organization of each folder for groups of samples

Contributes to #118
2017-01-04 15:16:11 -05:00
Andy Meneely c267e1dda7 spec: rip out flaky mock object test 2017-01-03 12:07:04 -05:00
Andy Meneely e18084d963 deck: flush surface upon exit
Fixes bug #180
2016-11-15 20:02:12 -05:00
Andy Meneely 0dcd2a06bc docs: document units better 2016-11-15 15:25:55 -05:00
Andy Meneely 7c66644955 samples: better units example 2016-11-15 15:22:39 -05:00
Andy Meneely 02c78d8f13 spec: fix regression breakage 2016-11-15 14:43:36 -05:00
Andy Meneely 30395aee56 save_pdf: add crop marks
Should satisfy #123

Needs some testing on printers but the functionality is there.
2016-11-01 12:12:03 -04:00
Andy Meneely ee2ed28550 text: rewrite embedding to use set_shape_renderer
No more arcane unicode magic!

Closes #177

Related to #170, #171, #158, #103, and #153 too.
2016-09-15 15:19:56 -04:00
Andy Meneely 0501a94bac test: update regression test for rotated ellipse 2016-09-09 00:29:03 -04:00
Andy Meneely d2eae64da2 shapes: rect and ellipse get the angle option
Closes #162
2016-09-09 00:10:43 -04:00
Andy Meneely ee0d232478 text: rewrite how image space is carved
Embedded images avoid zero-sized fonts by using non-printable characters instead.

This is for #153 and #103
2016-04-25 23:36:10 -04:00
Andy Meneely bdcd7d94ad save_png: update regression tests 2016-04-25 23:06:29 -04:00
Andy Meneely 87fd3b7b6f samples: update regression test 2016-04-12 13:39:29 -04:00
Andy Meneely 43ab4b0ae8 samples: gistify colors 2016-04-12 00:04:53 -04:00
Andy Meneely 8cd651d5f1 samples: gistifying excel.rb and csv.rb 2016-04-11 22:30:32 -04:00
Andy Meneely bd5e6c92f6 samples: gistify saves 2016-04-11 21:33:15 -04:00
Andy Meneely dd32e3bfae samples: cleanup regression tests 2016-04-11 21:13:34 -04:00
Andy Meneely 2329a069d1 save_pdf: flush to file
Fixes #150
2016-03-29 13:37:13 -04:00
Andy Meneely 8b0067546f save_png: add trim and trim_radius options
Close #122.
2015-12-11 23:09:04 -05:00
Andy Meneely b00cc99dd0 Added a grid shape
Close #68
2015-10-26 23:59:51 -04:00
Andy Meneely d99e840ffd PNG/SVG: flipping is now supported.
Fixes #11
2015-10-26 23:31:16 -04:00
Andy Meneely 8ea553eb95 Updating specs for image cropping
Ripped out graphics_images_spec.rb for being annoyingly useless. Too many mock objects!
2015-10-26 22:52:21 -04:00
Andy Meneely 541c8d49ca Crop PNGs, now with more rounded corners!
Contributes to #11
2015-10-26 22:35:56 -04:00
Andy Meneely 08381b86f0 Add quantity explosion to xlsx and csv
Closes #78
2015-10-20 18:23:25 -04:00
Andy Meneely c8e6f9803c xlsx,csv: trim whitespace, yield to optional block
Closes #108 and #79
2015-10-13 10:37:49 -04:00
Andy Meneely 4d1661ac0b Convert hand method to args classes 2015-08-15 00:17:29 -04:00
Andy Meneely bcc6d355d2 Convert showcase to args classes 2015-08-14 21:08:11 -04:00
Andy Meneely 40ac6d2b6b Expanding the Working With Text section
[skip ci]
2015-07-29 12:20:35 -04:00
Andy Meneely 7de39618fe Update regression tests for text 2015-07-28 09:39:21 -04:00
Andy Meneely 19767c54c4 Implement stroke_strategy option for all drawing operations
Fixes #102
2015-07-27 22:55:49 -04:00
Andy Meneely e03a97ce7e Add :scale shortcut to width/height of png and svg
Allows scaling while keeping the aspect ratio

Closes #91
2015-07-27 13:25:12 -04:00
Andy Meneely 7c756e468d Remove dead code 2015-07-26 23:34:02 -04:00
Andy Meneely 8f977f5956 Update text_options.rb sample, and expected output 2015-07-26 23:25:43 -04:00
Andy Meneely 9d475995e8 Pango scaling of "spacing" in text is done once
Spacing also defaults to nil, not zero, as before

Fixes #98
2015-07-26 22:26:42 -04:00
Andy Meneely f21e9448e1 Warn when text is ellipsized
Closes #80
2015-07-21 21:31:50 -04:00
Andy Meneely e20c644a9a Implemented new args design for svg and png
As part of that implementation, text_embed now supports singleton expansion. Closes #54
2015-07-21 20:27:15 -04:00