Commit Graph

174 Commits (c3f9e75d385929a6f83bad00b231e344ed4830e1)

Author SHA1 Message Date
Andy Meneely dad2ab5ba9 👮 newline at end of file 2016-03-17 23:51:37 -04:00
Andy Meneely 0cbcc0c683 👮 string literals should be single-quoted 2016-03-17 23:49:04 -04:00
Andy Meneely 65a0fdfd47 👮 leading space in comments 2016-03-17 23:47:32 -04:00
Andy Meneely 310030eee4 👮 spaces around operators 2016-03-17 23:40:41 -04:00
Andy Meneely 5e09e0f1e1 👮 fix spacing inside hashes 2016-03-17 23:38:48 -04:00
Andy Meneely 137e3f91cd 👮 fix extra spaces 2016-03-17 23:27:07 -04:00
Andy Meneely 8a9552126c 👮 fix space after comma 2016-03-17 23:22:16 -04:00
Andy Meneely 955d64a01f feature: add use_layout method to load layouts at runtime
Closes #141
2016-03-16 17:05:07 -04:00
Andy Meneely a90755096a samples: update expected image 2016-03-15 23:24:50 -04:00
Andy Meneely ebc8851ae8 samples: demonstrate font strings better
Fixes #138
2016-03-15 23:21:54 -04:00
Andy Meneely 864226dff3 samples: fix ignore on built files 2016-03-15 23:09:38 -04:00
Andy Meneely 9cdd3c4d2f text: fix valign when we only have an embed key
Fixes #134
2016-03-15 23:07:23 -04:00
Andy Meneely 9eb348236d samples: ignore pre-built files 2016-03-15 18:26:24 -04:00
Andy Meneely f408b7a88f csv: data option
Close #137
2016-03-15 17:45:39 -04:00
Andy Meneely 80cd0b924f samples: silence the build_group sample 2016-03-15 17:40:08 -04:00
Andy Meneely 61a3d3446b feature: build groups
See docs and changelog for more details on how these work.
2016-03-13 00:38:13 -05:00
Andy Meneely aae1c0a4c6 samples/text: Rebuild on home machine 2016-01-10 20:31:13 -05:00
Andy Meneely cf736db067 Maintain coordinate system when using gradients
Sample: document this better
spec: test this and update past tests

Fixes #127
2016-01-10 20:30:30 -05:00
Andy Meneely 4c0325aba1 samples/text: update output 2015-12-21 10:56:05 -05:00
Andy Meneely b560643332 Add submodule gist: _autoscale_font.rb 2015-12-13 21:11:22 -05:00
Andy Meneely 8b0067546f save_png: add trim and trim_radius options
Close #122.
2015-12-11 23:09:04 -05:00
Andy Meneely b05e1243f1 samples: use the latest _text.rb sample 2015-12-11 21:22:32 -05:00
Andy Meneely 960ba03137 Samples: add submodule samples/text 2015-11-30 08:50:44 -05:00
Andy Meneely dc85439350 Samples: new gist for text 2015-11-30 08:50:44 -05:00
Andy Meneely 52f3def03b Samples: _images output 2015-11-24 00:37:44 -05:00
Andy Meneely 645c9ff061 Samples: new images gist 2015-11-23 23:39:35 -05:00
Andy Meneely 7759eed6f3 Fix expected images after rebuild 2015-11-23 22:55:04 -05:00
Andy Meneely 16015a61a7 Rename sample/intro files to be more gist-friendly 2015-11-23 22:52:06 -05:00
Andy Meneely f33a74cada Samples: intro gist
Also make the sample regression spec more subdirectory friendly
2015-11-23 22:44:44 -05:00
Andy Meneely 710d28f5a8 Add warning to suppress png scaling warning
Close #120
2015-11-02 21:07:14 -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 169f9e4ac4 SVGs: now with more cropping power!
Contributes to #11
2015-10-26 22:47:42 -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 40ac6d2b6b Expanding the Working With Text section
[skip ci]
2015-07-29 12:20:35 -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 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 d899795f2b Remove debug line 2015-07-26 21:50:54 -04:00
Andy Meneely 003a26ae68 Two new built-in layouts: fantasy.yml and economy.yml
Contributes to #97
2015-07-26 00:59:12 -04:00
Andy Meneely 92d866548c Cleanup of img_dir and testing of input_file.rb 2015-07-21 21:04:23 -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
Andy Meneely ff3d057d49 Add a force_id: true example to load_images 2015-07-21 20:17:08 -04:00
Andy Meneely 2dd3fc3365 Documented a range idiom
In reaction to #90

[skip ci]
2015-07-03 16:01:44 -04:00
Andy Meneely 79814a43ea Start migrating text over to new args system
Almost there. It's working fine with the sample, but next it's time to write validators to get all this arg logic out of text.rb and make it just about drawing text.

Yes, unit tests aren't updated yet.
[skip ci]
2015-07-03 02:11:32 -04:00
Andy Meneely 78ee185fde Update sample to use cleaner syntax 2015-06-11 17:19:32 -04:00
Andy Meneely 8a7841d64f Add dash option to drawing operations
Currently only impacts rect, but it will impact others with the new design shortly
2015-06-08 15:26:33 -04:00