From: Stephen Edwards Date: 2009-09-15T03:15:14+09:00 Subject: Re: Scruffy is outputting 4x2 blank images On Aug 25, 7:59 am, 7stud -- wrote: > Jay Mendoza wrote: > > > Gruff renders fine, and a simple RMagick example worked as well. I've > > upgraded my ImageMagick installation, tried the example script with > > ruby19 but nothing has worked so far. > > Whoa.   Does your code work in ruby 1.8.x? > > -- > Posted viahttp://www.ruby-forum.com/. I was having the same problem. The issue is a "viewPort" declaration in renderers/base.rb The patch is to change line 35 to svg.svg(:xmlns => "http://www.w3.org/2000/svg", 'xmlns:xlink' => "http://www.w3.org/1999/xlink", :viewBox => "0 0 #{options[:size].first} #{options[:size].last}") See my discussion on http://rubyforge.org/tracker/index.php?func=detail&aid=27102&group_id=2030&atid=7929