README in prawn-svg-0.9.1 vs README in prawn-svg-0.9.1.1

- old
+ new

@@ -1,6 +1,6 @@ -The very start of an SVG renderer for Prawn. +An SVG renderer for the Prawn PDF library. This will take an SVG file as input and render it into your PDF. Find out more about the Prawn PDF library at: http://wiki.github.com/sandal/prawn/ @@ -11,7 +11,31 @@ end :at must be specified. :width, :height, or neither may be specified; if neither is present, the resolution specified in the SVG will be used. -Note that only a very small subset of SVG is currently supported. It's just enough so that -it renders a simple graph made by Scruffy. +prawn-svg is in its infancy and does not support the full SVG specifications. It currently supports: + +- line tag +- polyline tag +- polygon tag +- circle tag +- ellipse tag (although this seems to be buggy) + +- rect tag + supports rounded rects, but only one radius is applied to all corners + +- path tag + supports moveto, closepath, lineto, horiz lineto, vert lineto, curveto, smooth curveto, quad curveto, smooth quad curveto + does not support elliptical arc + +- text tag + attributes: size, text-anchor + partially supported attributes: font-family + +- attributes/styles: fill, stroke, stroke-width, opacity, fill-opacity, stroke-opacity, transform + +- transform methods: translate, rotate, scale + +- colors: html standard names, #xxx, #xxxxxx, rgb(1, 2, 3), rgb(1%, 2%, 3%) + +prawn-svg does NOT support CSS classes, named elements, anything in the defs tag, the tspan tag, gradients/patterns or markers.