Created
February 22, 2013 20:37
-
-
Save kennyp/5016367 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative './text_effect' | |
fonts = %w(Courier Helvetica Times-Roman Arial-Regular Consolas-Regular | |
Inconsolata-Medium Times-New-Roman-Regular Verdana-Regular) | |
effects = [:arc, :taper, :concave, :pinch, :bulge, :ramp, :wedge, :normal] | |
fonts.product(effects).each do |font, effect| | |
File.open("#{font}-#{effect}.svg", "w") do |f| | |
f.write TextEffect.new('Hello World!', font, effect) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment