Andy Meneely
ae1a7bd084
Set a non-symbol default for text embeds
...
Fixes #73 , but in #74 we'll get it right.
11 years ago
Andy Meneely
5ee3df5138
Update changelog for hand command, and other tweaks
...
[skip ci]
11 years ago
Andy Meneely
0154b13e68
Use cairo context wrapper for fill colors on marketing
...
Actually deliver what I promised
Fixes #71
11 years ago
Andy Meneely
a86974d5b8
Regression and sanity testing
11 years ago
Andy Meneely
31b583d134
Implementation of hand
11 years ago
Andy Meneely
824e26d2c2
Hacked together a basic example to work from
11 years ago
Andy Meneely
f0f9b7680d
Starting a basic hand command
11 years ago
Andy Meneely
071f06bdc2
Removing an old side-note.
...
[skip ci]
11 years ago
Andy Meneely
d80d3884b1
Cleanup
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
9b4eb7f00b
Hide generated folders from SublimeText
11 years ago
Andy Meneely
7c829c21e9
Switch to YARD's master branch now that frameless is integrated
11 years ago
Andy Meneely
6316a5ee0c
Refactor the sublimetext project file
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
e974880e03
Add 'data' field to svg method for loading XML directly
...
Implements #65
11 years ago
Andy Meneely
c42fbef8fa
Documented stroke_width and stroke_color
...
Contributes to #51
[skip ci]
11 years ago
Andy Meneely
b03dbb54da
Fix unit test breakage
11 years ago
Andy Meneely
ca70b88be9
Cleanup
11 years ago
Andy Meneely
7c69cad506
Text: outline a string with a color or gradient
...
Fill color is still the same with 'color' (i.e. can be overridden by markup still), but now there's a stroke_width and a stroke_color option that, when stroke_width > 0, will draw an outline below the text. Since this isn't a Pango feature, we can't do markup for outlines. (Maybe make that a feature request to Pango if you want it.)
Implements #51
11 years ago
Andy Meneely
70b2e52d57
Document conf overhaul
11 years ago
Andy Meneely
acbbbca2bd
Documenting the status of dpi
11 years ago
Andy Meneely
b2c9586522
Updates to README after configuration overhaul
11 years ago
Andy Meneely
1c76d03e19
Dead code
11 years ago
Andy Meneely
1dc89ae76a
Port global text hints to the new conf
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
cb71207161
Turning on rspec color globally
11 years ago
Andy Meneely
0aa5c500c0
Fix broken test
11 years ago
Andy Meneely
25773a8ee5
Better regression tests for roo
11 years ago
Andy Meneely
d00ae0215f
Upgrade to roo 2.0.0
11 years ago
Andy Meneely
8fe093fc57
More changelog cleanup: dates and bug/feature/chore groupings
...
Following more conventional guidelines for change logs.
11 years ago
Andy Meneely
035cd6259e
Fix global hinting logic
...
Fixes #63
11 years ago
Andy Meneely
fb07d9da02
Backfill the changelog for font antialiasing change
11 years ago
Andy Meneely
a64e608b0a
Onward and upward.
11 years ago
Andy Meneely
838b1fd085
Removing scratch code
11 years ago
Andy Meneely
1e72376caa
Document bugfix #62
11 years ago
Andy Meneely
4a0c5e78b6
Fix PDF scaling issue
...
Properly compute the size of the PDF based on DPI and PDF-specific resolution (i.e. 72dpi).
Closes #62
11 years ago
Andy Meneely
a47e26535d
Starting a bugfix version
11 years ago
Andy Meneely
8ec0a5e09a
Onward and upward.
11 years ago
Andy Meneely
e8e1fe381c
The ever-expanding release todo list.
11 years ago
Andy Meneely
fbefe098cc
I dub thee v0.5.0
11 years ago
Andy Meneely
0185f2dfcf
Fixing up regression tests for release
11 years ago
Andy Meneely
0616512bd6
Set font antialiasing from global antialiasing
...
This is a workaround until we get a proper solution in #59
11 years ago
Andy Meneely
2d9ba40486
Making this work for now
...
Related to #56
11 years ago
Andy Meneely
e268246337
Allow specific gray and subpixel choices for antialiasing
11 years ago
Andy Meneely
7360c8f550
Some tweaks to the README
...
[skip ci]
11 years ago