Fix default style, version 0.3.1
This commit is contained in:
parent
3a72c0ca58
commit
2760a064b5
|
@ -1,4 +1,4 @@
|
|||
0.3.0
|
||||
0.3.1
|
||||
-----
|
||||
|
||||
- More complex Image render: compact text, strong lines, +/-5 rotate...
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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} \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module RuCaptcha
|
||||
VERSION = '0.3.0'
|
||||
VERSION = '0.3.1'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue