Fix default style, version 0.3.1

This commit is contained in:
Jason Lee 2015-11-05 18:27:42 +08:00
parent 3a72c0ca58
commit 2760a064b5
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
0.3.0
0.3.1
-----
- More complex Image render: compact text, strong lines, +/-5 rotate...

View File

@ -15,7 +15,7 @@ module RuCaptcha
return @config if defined?(@config)
@config = Configuration.new
@config.len = 4
@config.font_size = 48
@config.font_size = 45
@config.implode = 0.4
@config.cache_limit = 100
@config

View File

@ -52,7 +52,7 @@ module RuCaptcha
convert -size #{size} \
-strokewidth #{stroke_width} \
#{line_opts.join(' ')} \
-pointsize #{font_size} -weight 700 \
-pointsize #{font_size} -weight 500 \
#{text_opts.join(' ')} \
-wave #{rand(2) + 3}x#{rand(2) + 1} \
-rotate #{rand(10) - 5} \

View File

@ -1,3 +1,3 @@
module RuCaptcha
VERSION = '0.3.0'
VERSION = '0.3.1'
end