Seh Hui, Leong
f800c131ff
Respect DPI settings in text, add pt unit
...
This has the compatibility impact that all font sizes should be divided by 3 to maintain their same sizes.
Based on PR #225 . Thanks @felixleong!!
Conflicts:
bin/squib
lib/squib/graphics/text.rb
9 years ago
Andy Meneely
47b5f569a4
Rip out old constants from pre args classes
11 years ago
Andy Meneely
c3e76a93aa
Fix a syntax error
11 years ago
Andy Meneely
6d8e44920b
Allow unit conversion on radius for star
11 years ago
Andy Meneely
4b63716dfc
Star feature works, testing is still pending
11 years ago
Andy Meneely
14e04a89c7
Started the star feature
...
Contributes to #72
[skip ci]
11 years ago
Andy Meneely
31b583d134
Implementation of hand
11 years ago
Andy Meneely
e974880e03
Add 'data' field to svg method for loading XML directly
...
Implements #65
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
035cd6259e
Fix global hinting logic
...
Fixes #63
11 years ago
Andy Meneely
e268246337
Allow specific gray and subpixel choices for antialiasing
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
674397c005
Smart quotes!
...
Closes #50
11 years ago
Andy Meneely
574b76873e
Updating regression tests, renamed bezier curve params
11 years ago
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]
11 years ago
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
11 years ago
Andy Meneely
2cc9cc8e93
Initial implementation of curves
...
Contributes to #37
11 years ago
Andy Meneely
eee1bcf90d
Default key is specified
11 years ago
Andy Meneely
2caacaeece
Fixing compatibility with linux os
...
Thank you, Travis! Turns out the cairo gem isn't perfectly the same in Linux...
11 years ago
Andy Meneely
f49bff2388
Add antialias config option
...
Closes #41
11 years ago
Andy Meneely
b5016f90c0
Sorting lines
11 years ago
Andy Meneely
8876b27473
Merging in svg back end work. All but save_doc is done.
11 years ago
Andy Meneely
086fd5fad9
Unit conversion on save_pdf, and arbitrary paper sizes
...
Closes #21 and #20
11 years ago
Andy Meneely
4ecbaa4e31
Implementing format strings for filename counts on multisaves
11 years ago
Andy Meneely
7a53f68393
Implementing mask feature for images
...
Fixes #32 .
11 years ago
Andy Meneely
f3e3082f0e
Implement showcase feature
...
#Closes 26
11 years ago
Andy Meneely
0da51b4573
Refactoring and documentation
11 years ago
Andy Meneely
fd217294c5
Implemented sheet command
11 years ago
Andy Meneely
c287e6137c
Unit conversion feature added, tested, documented
11 years ago
Andy Meneely
bf91190b3b
Rubocop: TrailingBlankLines
12 years ago
Andy Meneely
e115135d51
Rubocop: Using single-quotes properly
12 years ago
Andy Meneely
37fd4e7733
Rubocop: Trailing Whitespace
12 years ago
Andy Meneely
393eeae450
Renamed text :rotation => :angle
12 years ago
David Turner
91e7adafd5
Add text rotation
12 years ago
David Turner
cdc994b77a
Fix wrong mapping
12 years ago
Andy Meneely
fd2d10771a
Added a font_size override for font description
12 years ago
Andy Meneely
56905b08bc
Implementing an img_dir configuration setting
12 years ago
Andy Meneely
a643cf8025
Hinting is set to off, not nil. Some more tests
12 years ago
Andy Meneely
771543886d
Added a force_id option
12 years ago
Andy Meneely
b3eb3b6876
Added blending operators to png and svg
...
Also refactored to start using save/restore more often
12 years ago
Andy Meneely
41038178ad
Implementing rotate for save_png
12 years ago
Andy Meneely
3e08a0d604
Singleton expansion has... expanded!
...
Closes #13 , hopefully
12 years ago
Andy Meneely
6c31320411
Custom colors, closing #1
12 years ago
Andy Meneely
9cde048c00
Spacing!
12 years ago
Andy Meneely
8bfdf4b777
Adding progress bars to the custom configuration
12 years ago
Andy Meneely
65f75a3360
Adding a progress bar to save
12 years ago
Andy Meneely
e5a889a274
Tons more documentation.
12 years ago
Andy Meneely
10b0e1811e
Adding circle and triangle, and example
...
Closes #7
12 years ago
Andy Meneely
b0e65d3783
Implementing initial layout functionality
12 years ago
Andy Meneely
f6480445df
Stabilizing the code after the options switch. Getting there...
12 years ago