doc/ex/ViewBox.rb in rmagick-2.8.0 vs doc/ex/ViewBox.rb in rmagick-2.9.0
- old
+ new
@@ -20,10 +20,10 @@
# A large, red triangle
canvas.path("M 750,100 L 250,900 L 1250,900 z").styles(:fill=>'red')
# A text string that spans most of the viewport
- canvas.text(100, 600, 'Stretch to fit').styles(:font_size=>200, :font_family=>'Verdana')
+ canvas.text(100, 600, 'Stretch to fit').styles(:font_size=>200, :font_style=>'normal', :font_weight=>'normal', :font_family=>'Verdana')
end
return rvg.draw
end