Re: Ruby-SVG problems with Style attributes



I found a workaround: I wrapped the attributes with the "-"-character
inside double quotes; literally: ":stroke-width" if you get the drift :)

Girrrrrrrr
On Thu, 08 Jun 2006 15:41:35 +0300, grr ruby svg freek wrote:

So I found an excellent SVG class made by Yuya at
http://raa.ruby-lang.org/project/ruby-svg - Thank you Yuya!

Its very nice piece of work, but I have one problem with Style attributes
that contain the "-" character (minus), such as ":stroke-width" or
"fill-opacity". Attributes without "-" function ok (such as ":fill" or
":stroke"".

.