Andy Meneely
34851be5d7
Put release date on the changelog
2015-05-27 15:55:12 -04:00
Andy Meneely
9801188b47
Update expected png for star
2015-05-26 21:09:19 -04:00
Andy Meneely
da0fe1b118
Onward and upward.
2015-05-26 21:04:15 -04:00
Andy Meneely
981a9eab0e
I dub thee v0.6.0
2015-05-26 20:57:58 -04:00
Andy Meneely
d957addfc3
Enabling regression tests again
2015-05-26 20:56:58 -04:00
Andy Meneely
a20100f3f8
Hiding private stuff from public documentation
2015-05-26 20:55:11 -04:00
Andy Meneely
07fdfa49d5
README tweaks
...
[skip ci]
2015-05-26 20:49:12 -04:00
Andy Meneely
824e26d2c2
Hacked together a basic example to work from
2015-05-13 09:42:14 -04:00
Andy Meneely
f0f9b7680d
Starting a basic hand command
2015-05-11 23:30:30 -04:00
Andy Meneely
071f06bdc2
Removing an old side-note.
...
[skip ci]
2015-04-30 14:38:32 -04:00
Andy Meneely
d80d3884b1
Cleanup
2015-04-30 11:48:47 -04:00
Andy Meneely
dab544a53b
Add ellipse method
...
Also experimenting with using stroke_preserve, which in turn may make the other methods less repetitive.
Closes #66
2015-04-30 11:48:21 -04:00
Andy Meneely
9b4eb7f00b
Hide generated folders from SublimeText
2015-04-30 10:34:39 -04:00
Andy Meneely
7c829c21e9
Switch to YARD's master branch now that frameless is integrated
2015-04-30 10:34:09 -04:00
Andy Meneely
6316a5ee0c
Refactor the sublimetext project file
2015-04-30 10:18:28 -04:00
Andy Meneely
ac7769237c
Fix the csv_import.rb sample to function properly
2015-04-30 10:05:34 -04:00
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.
2015-04-30 09:54:41 -04:00
Andy Meneely
2e84cf4e6a
Update load_images expected png for sanity testing
2015-04-30 09:37:57 -04:00
Andy Meneely
e974880e03
Add 'data' field to svg method for loading XML directly
...
Implements #65
2015-04-29 16:49:38 -04:00
Andy Meneely
c42fbef8fa
Documented stroke_width and stroke_color
...
Contributes to #51
[skip ci]
2015-04-28 23:38:05 -04:00
Andy Meneely
b03dbb54da
Fix unit test breakage
2015-04-28 22:31:15 -04:00
Andy Meneely
ca70b88be9
Cleanup
2015-04-28 22:31:04 -04:00
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
2015-04-28 22:27:26 -04:00
Andy Meneely
70b2e52d57
Document conf overhaul
2015-04-28 21:10:37 -04:00
Andy Meneely
acbbbca2bd
Documenting the status of dpi
2015-04-28 21:09:04 -04:00
Andy Meneely
b2c9586522
Updates to README after configuration overhaul
2015-04-28 21:08:15 -04:00
Andy Meneely
1c76d03e19
Dead code
2015-04-28 21:08:01 -04:00
Andy Meneely
1dc89ae76a
Port global text hints to the new conf
2015-04-28 21:01:49 -04:00
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
2015-04-28 20:31:53 -04:00
Andy Meneely
74865cb10f
Sanity test: pixel-by-pixel comparison
2015-04-28 16:07:40 -04:00
Andy Meneely
5ea9ce619f
Basic visual sanity test for better regression testing
2015-04-27 11:15:31 -04:00
Andy Meneely
bed94e47ba
Changing rspec sample regressions to one-at-a-time
2015-04-27 09:58:25 -04:00
Andy Meneely
cb71207161
Turning on rspec color globally
2015-04-27 09:57:55 -04:00
Andy Meneely
0aa5c500c0
Fix broken test
2015-04-27 09:26:46 -04:00
Andy Meneely
25773a8ee5
Better regression tests for roo
2015-04-27 08:50:03 -04:00
Andy Meneely
d00ae0215f
Upgrade to roo 2.0.0
2015-04-24 13:29:39 -04:00
Andy Meneely
8fe093fc57
More changelog cleanup: dates and bug/feature/chore groupings
...
Following more conventional guidelines for change logs.
2015-04-16 21:47:06 -04:00
Andy Meneely
035cd6259e
Fix global hinting logic
...
Fixes #63
2015-04-16 21:24:21 -04:00
Andy Meneely
fb07d9da02
Backfill the changelog for font antialiasing change
2015-04-16 21:18:18 -04:00
Andy Meneely
a64e608b0a
Onward and upward.
2015-04-16 20:56:01 -04:00
Andy Meneely
838b1fd085
Removing scratch code
2015-04-13 23:19:59 -04:00
Andy Meneely
1e72376caa
Document bugfix #62
2015-04-13 23:18:31 -04:00
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
2015-04-13 22:59:34 -04:00
Andy Meneely
a47e26535d
Starting a bugfix version
2015-04-13 22:49:42 -04:00
Andy Meneely
8ec0a5e09a
Onward and upward.
2015-04-13 21:44:37 -04:00
Andy Meneely
e8e1fe381c
The ever-expanding release todo list.
2015-04-13 21:43:59 -04:00
Andy Meneely
fbefe098cc
I dub thee v0.5.0
2015-04-13 21:42:39 -04:00
Andy Meneely
0185f2dfcf
Fixing up regression tests for release
2015-04-13 21:33:55 -04:00
Andy Meneely
0616512bd6
Set font antialiasing from global antialiasing
...
This is a workaround until we get a proper solution in #59
2015-04-13 21:26:41 -04:00
Andy Meneely
2d9ba40486
Making this work for now
...
Related to #56
2015-04-13 21:13:26 -04:00
Andy Meneely
e268246337
Allow specific gray and subpixel choices for antialiasing
2015-04-13 21:01:46 -04:00
Andy Meneely
7360c8f550
Some tweaks to the README
...
[skip ci]
2015-04-11 11:04:01 -04:00
Andy Meneely
0e22c52b0f
Fix up config defaults
...
Also: removing include because Yard is stupid.
2015-04-07 21:32:55 -04:00
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
2015-04-07 21:21:00 -04:00
Andy Meneely
beb46a9e1c
Place embedded icons based on byte offset
...
Fixes #57
2015-04-07 19:43:16 -04:00
Andy Meneely
211e7c13b3
Fix typography replacements with embeds
...
Enable embedded icons tests again
2015-04-07 12:20:40 -04:00
Andy Meneely
a5d1cb60f2
Complete overhaul of smart quotes to "typographer"
...
See README for details
Contributes to #50
2015-04-07 00:16:06 -04:00
Andy Meneely
674397c005
Smart quotes!
...
Closes #50
2015-04-04 16:02:20 -04:00
Andy Meneely
874bdba8bc
Fix a string replacement issue.
...
Contributes to #30
2015-04-04 09:33:04 -04:00
Andy Meneely
19cad2cdb8
Using a platform-specific fix for zero-width letters on embedding icons
...
Contributes to #30 and our zero-width letter woes.
2015-04-04 09:15:21 -04:00
Andy Meneely
84fa97a4d1
More debugging on this stupid error
2015-04-02 10:19:22 -04:00
Andy Meneely
91ba48f80b
Explicitly saving and restoring the matrix
2015-04-02 10:14:08 -04:00
Andy Meneely
c9f9235be7
Attempting travis fix by saving and restoring the matrix
2015-04-02 10:00:26 -04:00
Andy Meneely
b123a132ef
Better debugging to fix this travis issue
2015-04-01 10:19:46 -04:00
Andy Meneely
44a6334b26
Allowing :get_matrix in the wrapper
2015-04-01 10:13:59 -04:00
Andy Meneely
d4cd7897ab
Catching the error and printing the current cairo matrix
2015-04-01 10:12:16 -04:00
Andy Meneely
acdb56d894
Travis fix: adding save/restore to fix matrix problem
2015-04-01 10:02:16 -04:00
Andy Meneely
5c4d7c368f
Switching back to zero to try to break Travis
2015-04-01 09:47:45 -04:00
Andy Meneely
784a0dcb90
Updating the regression test
2015-03-31 21:24:28 -04:00
Andy Meneely
7941adc2aa
Font size of 1/1024 pixel to fix non invertible matrix error
2015-03-31 21:15:06 -04:00
Andy Meneely
03e41c7e81
Adding regression tests for various cases to test PR #53
...
Close #53 .
2015-03-31 17:05:03 -04:00
Andy Meneely
554e8457da
Updated changelog for curves
2015-03-26 20:11:38 -04:00
Andy Meneely
574b76873e
Updating regression tests, renamed bezier curve params
2015-03-26 19:50:12 -04:00
Andy Meneely
924f9e98e8
More documentation on how to contribute
2015-03-26 19:12:47 -04:00
Andy Meneely
6c9ddaf38a
Lots of new documentation, especially for text
2015-03-26 19:12:46 -04:00
Andy Meneely
42ae2144e0
Fix index location issue, working on vertical placement
...
Contributes to #30
Also added little adjusters for the icons in case your icon is a little off.
[skip ci]
2015-03-24 14:59:21 -04:00
Andy Meneely
014646ce9f
Better default to avoid CAIRO_STATUS_INVALID_SIZE errors
...
For some silly reason Cairo checks the width and height for invalid size, not the product: http://lists.cairographics.org/archives/cairo/2010-December/021424.html
2015-03-23 13:53:23 -04:00
Andy Meneely
ac2b46921d
Add support for embedding pngs
...
Refactored into passing a Proc. I love those things.
2015-03-19 17:00:27 -04:00
Andy Meneely
e2b45a2047
Documentation revisions
2015-03-19 14:29:30 -04:00
Andy Meneely
cb7ff5f4d7
Yard: Add in lots of @api private directives
2015-03-19 13:45:47 -04:00
Andy Meneely
9c5f78ee3b
Switching to Yard's frameless template
2015-03-19 13:32:04 -04:00
Andy Meneely
4b13f5d269
Travis: remove sudo for container-based infrastructure
2015-03-19 10:40:50 -04:00
Andy Meneely
c423c41b61
Travis: be less strict about ruby minor versions
2015-03-19 10:32:47 -04:00
Andy Meneely
cb33e8a40e
Updating unit tests
2015-03-19 00:24:52 -04:00
Andy Meneely
63f587f792
Another common test to run
2015-03-19 00:24:52 -04:00
Andy Meneely
3a57380959
Updated and corrected regression tests
2015-03-19 00:24:51 -04:00
Andy Meneely
d386ae0426
Finish my thought
2015-03-19 00:24:51 -04:00
Andy Meneely
188112d581
Record this as a known issue and point to the bug
2015-03-19 00:24:50 -04:00
Andy Meneely
50ddf0f576
Making the demo be left-aligned for now
2015-03-19 00:24:50 -04:00
Andy Meneely
8246fc605f
New build command for regressions only
2015-03-19 00:24:49 -04:00
Andy Meneely
77e5fcce06
Cleaning up
...
Although it appears we still have issues with text_options being different on different cards. Very strange.
2015-03-19 00:24:49 -04:00
Andy Meneely
c6cb0ca288
Saving a wonky bug example for posterity
2015-03-19 00:24:48 -04:00
Andy Meneely
c18096ecaf
More sublime build texts
2015-03-19 00:24:48 -04:00
Andy Meneely
bcf78cdbf7
Better building within sublime
2015-03-19 00:24:48 -04:00
Andy Meneely
666dae393d
Base functionality of icon embedding working
...
Contributes to #30
2015-03-19 00:24:47 -04:00
Andy Meneely
ef43741eb1
Documenting cygwin installs, updating benchmark
2015-03-12 10:22:15 -04:00
Andy Meneely
58a2f9cd89
Onward and upward.
2015-02-28 21:57:02 -05:00
Andy Meneely
fdef666576
Quick wording fix
2015-02-28 21:53:59 -05:00
Andy Meneely
2caacaeece
Fixing compatibility with linux os
...
Thank you, Travis! Turns out the cairo gem isn't perfectly the same in Linux...
2015-02-28 21:39:26 -05:00
Andy Meneely
499050c4ee
Requiring squib in more places on specs
...
Trying to fix unit tests on travis
2015-02-28 21:09:56 -05:00