Andy Meneely
9ef4afc2e6
converted the rest!
2020-03-20 23:07:14 -04:00
Andy Meneely
4b664d2061
converting a bunch over now, new rspec tests
2020-03-18 14:10:37 -04:00
Andy Meneely
77a694f797
partway through the conversion
2020-03-16 16:38:13 -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
1accadfc30
Merge in PR #272
...
Fix sheet size for 1-card-per-sheet PDFs and adjust coordinates when
using trim #272
2019-06-07 15:43:40 -04:00
Andy Meneely
827f998564
Merge branch 'master' into dev
2019-05-27 09:18:14 -04:00
Karneades
cfbcdfeeec
Add csv example to docs for multiple source files
2019-05-27 09:17:18 -04:00
Karneades
30673f712d
Update cut zone DSL documentation
...
* Fix margin to standard 1/8* which was intended according to the ruby file used in the examples.
* Fix wording in margin
2019-05-27 09:15:44 -04:00
Andy Meneely
8c4c0e0137
showcase: trim_radius still defaults to 38px
...
docs reflect that now too
2019-05-24 10:49:55 -04:00
Andy Meneely
453c8ec64d
svg: document rasterization on mask ( #192 )
2018-10-19 16:14:26 -04:00
Adam Blinkinsop
f83f8a0652
Fix typos in the yaml documentation. ( #253 )
2018-09-06 12:26:15 -04:00
Andy Meneely
8f15c21dcf
docs: document n-sidedness parameter (aka "n")
2018-07-31 21:53:43 -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
aee8884a9e
sprues: better handling of trim args
2017-11-03 23:02:18 -04:00
Andy Meneely
9eaa27ce3e
docs: document safe_zone and cut_zone
2017-10-06 00:05:21 -04:00
Damien Salvador
44b899181a
save_pdf: right-to-left support
...
# Conflicts:
# CHANGELOG.md
2017-10-05 20:00:21 -04:00
Andy Meneely
17ecf87385
docs: documenting and sampling sprues
2017-08-02 17:11:52 -04:00
Andy Meneely
f140ff32fa
Cleanup and tests of yaml method
2017-04-15 21:25:34 -04:00
Clarence "Sparr" Risher
695bd8fb77
add save_sheet rtl option for duplex printing
2017-03-11 16:28:20 -05:00
Clarence "Sparr" Risher
1a58adb288
switch arc_ccw true/false to arc_direction :counterclockwise/:clockwise
2017-03-10 22:48:21 -05:00
Clarence "Sparr" Risher
573a1e9e30
implement circle arc feature, no tests
2017-03-10 22:48:21 -05:00
Andy Meneely
f4a9a668c2
docs: cleanup and warning fixes
2017-01-04 15:31:29 -05:00
Andy Meneely
1ab9be16a4
docs: duplicate option
...
[skip ci]
2016-12-03 00:12:27 -05:00
Andy Meneely
f4d94240e0
import: data frames are here!
...
Implemented a whole new class to represent the data that comes in from CSV and XLSX. See docs for more info.
Closes #153
2016-12-02 00:17:57 -05:00
Andy Meneely
e53e47dde7
build groups: add convenience methods
2016-11-24 14:00:23 -05:00
Andy Meneely
56b5a711e4
dsl: add Squib.configure
...
I ended up adding this one on a whim, but it feels like a long time coming. We need cleaner support for Rakefiles, and this is a good step toward that I think.
2016-11-17 21:11:12 -05:00
Andy Meneely
dfedad0fed
docs: cleanup and error silencing
2016-11-16 12:01:33 -05:00
Andy Meneely
c9440ec57c
showcase: use correct width&height vars
...
Fixes #179
2016-11-15 20:28:22 -05:00
Andy Meneely
8604ebd684
docs: overall cleanup
2016-11-15 18:21:37 -05:00
Andy Meneely
c1b8cf14ab
docs: including more code samples
2016-11-15 18:08:52 -05:00
Andy Meneely
21e09e45c7
docs: add warning about printer behavior
2016-11-03 15:05:49 -04: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
d2eae64da2
shapes: rect and ellipse get the angle option
...
Closes #162
2016-09-09 00:10:43 -04:00
Andy Meneely
a35398a466
text: document lack of :scale behavior on embeds
...
Contributes to #160
2016-09-08 11:00:36 -04:00
Andy Meneely
4ea30c63e2
units: support mm
...
Closes #161
2016-06-27 11:10:39 -04:00
Andy Meneely
0b80cd9199
docs: document x3,y3
2016-05-24 22:17:20 -04:00
Andy Meneely
c0b62d54a7
docs: embed directly from source, not gists
...
Trying this out instead. Git submodules are just a pain in the neck.
2016-04-14 11:33:34 -04:00
Andy Meneely
795b4e4478
csv: yield to block on each cell
...
Closes #151
Related to #145
2016-04-11 20:07:55 -04:00
Andy Meneely
d7943da750
csv: allow all Ruby csv parsing options
...
Closes #149
Generalization on PR #146 by Qgel. Thanks for the contribution!
2016-03-24 02:23:47 -04:00
Andy Meneely
080bd7e934
docs: document the flips for text embeds
2016-03-24 00:56:00 -04:00
Andy Meneely
bad52b7eb6
docs: port text_embed over to the docs
...
Fixes #148
2016-03-23 23:58:14 -04:00
Andy Meneely
e55c450d16
build_groups: rename to build instead of group
2016-03-20 22:52:04 -04:00
Andy Meneely
a768561e91
docs: fix wording on word_wrap
...
Based on #142 , thanks @luyzdeleon
2016-03-17 16:25:08 -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
f408b7a88f
csv: data option
...
Close #137
2016-03-15 17:45:39 -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
aeadcd16ed
docs: minor tweaks
2016-02-24 00:20:40 -05:00
Andy Meneely
9a1d85c9e9
docs: begin porting from markdown
2016-02-22 11:53:15 -05:00
Andy Meneely
736e783557
docs: finished porting text
2016-02-12 22:14:54 -05:00
Andy Meneely
5dfe0f11c7
docs: partial port of text method
2016-02-12 17:28:51 -05:00