Andy Meneely
30395aee56
save_pdf: add crop marks
...
Should satisfy #123
Needs some testing on printers but the functionality is there.
9 years ago
Andy Meneely
87fd3b7b6f
samples: update regression test
10 years ago
Andy Meneely
43ab4b0ae8
samples: gistify colors
10 years ago
Andy Meneely
8cd651d5f1
samples: gistifying excel.rb and csv.rb
10 years ago
Andy Meneely
bd5e6c92f6
samples: gistify saves
10 years ago
Andy Meneely
dd32e3bfae
samples: cleanup regression tests
10 years ago
Andy Meneely
2329a069d1
save_pdf: flush to file
...
Fixes #150
10 years ago
Andy Meneely
dad2ab5ba9
👮 newline at end of file
10 years ago
Andy Meneely
0cbcc0c683
👮 string literals should be single-quoted
10 years ago
Andy Meneely
65a0fdfd47
👮 leading space in comments
10 years ago
Andy Meneely
90f319e9f5
Refactor spec runners to be separate tests
10 years ago
Andy Meneely
35d1bd64c0
Playing around with html diffing on sanity test
10 years ago
Andy Meneely
f33a74cada
Samples: intro gist
...
Also make the sample regression spec more subdirectory friendly
10 years ago
Andy Meneely
b00cc99dd0
Added a grid shape
...
Close #68
10 years ago
Andy Meneely
d99e840ffd
PNG/SVG: flipping is now supported.
...
Fixes #11
10 years ago
Andy Meneely
8ea553eb95
Updating specs for image cropping
...
Ripped out graphics_images_spec.rb for being annoyingly useless. Too many mock objects!
10 years ago
Andy Meneely
541c8d49ca
Crop PNGs, now with more rounded corners!
...
Contributes to #11
10 years ago
Andy Meneely
94a35f6028
Update expected images for sanity test
10 years ago
Andy Meneely
8f977f5956
Update text_options.rb sample, and expected output
11 years ago
Andy Meneely
2dd3fc3365
Documented a range idiom
...
In reaction to #90
[skip ci]
11 years ago
Andy Meneely
f16f285a0a
Update expected draw_shapes.rb PNG for sanity test
11 years ago
Andy Meneely
6c60f21bb0
Refactored drawing to get fill_n_stroke
...
Contributes to #75
11 years ago
Andy Meneely
9801188b47
Update expected png for star
11 years ago
Andy Meneely
d957addfc3
Enabling regression tests again
11 years ago
Andy Meneely
3bbc787025
Add polygon method to dsl
...
Testing and documentation too.
Closes #67
11 years ago
Andy Meneely
0853b6a708
Finish regression testing of star
11 years ago
Andy Meneely
b8536bcabe
Regression and sanity testing for star
...
Closes #72
11 years ago
Andy Meneely
a86974d5b8
Regression and sanity testing
11 years ago
Andy Meneely
dab544a53b
Add ellipse method
...
Also experimenting with using stroke_preserve, which in turn may make the other methods less repetitive.
Closes #66
11 years ago
Andy Meneely
ac7769237c
Fix the csv_import.rb sample to function properly
11 years ago
Andy Meneely
71defb9e33
Fix color handling with text outline stroking
...
Needed to set squibcolor prior to translating the coordinate system so that gradients are relative to the card (as is documented). This also means stroking is done AFTER drawing the text, which looks better anyway.
11 years ago
Andy Meneely
2e84cf4e6a
Update load_images expected png for sanity testing
11 years ago
Andy Meneely
923f346575
Redesigning how config files are read, stored, and delegated
...
With the new design, we take the load off of deck.rb and simply delegate methods over to the new conf.rb. This means that things like `antialias` is now available as a method to the normal Squib scripts for easy checking (without being mutable). Squib::Conf also handles parsing and defaults, and any potential input validation we need to do in the future.
Typographer is also set up now as a deck-wide configuration. This may change in the future if we want typography customization per-command, although that seems like a strange use case.
Lots of tests for this one, and lots of cross-cutting concerns in this commit.
This commit also includes some tweaks to rspec tests, including tagging of slow tests for a `rake spec_fastonly`
Conflicts:
spec/samples/samples_regression_spec.rb
spec/spec_helper.rb
squib.sublime-project
11 years ago
Andy Meneely
74865cb10f
Sanity test: pixel-by-pixel comparison
11 years ago
Andy Meneely
5ea9ce619f
Basic visual sanity test for better regression testing
11 years ago
Andy Meneely
bed94e47ba
Changing rspec sample regressions to one-at-a-time
11 years ago
Andy Meneely
0185f2dfcf
Fixing up regression tests for release
11 years ago
Andy Meneely
063d5156d6
Allow configuration of typographical replacements, e.g. smart quotes
...
If you're living in a non-UTF-8 character set, then you can configure what quotes are smartly changed.
If my regexes are messing things up, you can also turn this off with smart_quotes: false
Also updated docs.
This closes #50
11 years ago
Andy Meneely
91ba48f80b
Explicitly saving and restoring the matrix
11 years ago
Andy Meneely
784a0dcb90
Updating the regression test
11 years ago
Andy Meneely
574b76873e
Updating regression tests, renamed bezier curve params
11 years ago
Andy Meneely
8876b27473
Merging in svg back end work. All but save_doc is done.
11 years ago
Andy Meneely
578c3cb6a0
Upgrading rspec, fixing mock objects bug
11 years ago
Andy Meneely
b0b69186e7
Don't need these regression logs
11 years ago
Andy Meneely
bfbf7a7eba
Added support for linear and radial gradients
...
Closes #29
11 years ago
Andy Meneely
f3e3082f0e
Implement showcase feature
...
#Closes 26
11 years ago
Andy Meneely
fd217294c5
Implemented sheet command
11 years ago
Andy Meneely
979cd701e6
Added a unicode sample
...
Removed the unicode from the text_options.rb sample so the regression test can be back online.
11 years ago
Andy Meneely
f8f65f3de7
Support png scaling, but warns on use.
11 years ago
Andy Meneely
04b55d8b32
Finished CSV feature
11 years ago