README in prawn-svg-0.9.1.8 vs README in prawn-svg-0.9.1.9
- old
+ new
@@ -26,19 +26,22 @@
- 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
+- text and tspan tags
+ attributes: size, text-anchor, font-family, font-weight, dx, dy
+- svg, g and symbol tags
+
+- use tag
+
- style tag, if css_parser gem is installed on the system [1]
- attributes/styles: fill, stroke, stroke-width, opacity, fill-opacity, stroke-opacity, transform
-- transform methods: translate, rotate, scale
+- transform methods: translate, rotate, scale, matrix
- colors: html standard names, #xxx, #xxxxxx, rgb(1, 2, 3), rgb(1%, 2%, 3%)
- measurements specified in pt, cm, dm, ft, in, m, mm, yd, %
@@ -47,8 +50,8 @@
By default, prawn-svg has a fonts path of ["/Library/Fonts", "/usr/share/fonts/truetype/**"] to catch
Mac OS X and Debian Linux users. You can add to the font path:
Prawn::Svg.font_path << "/my/font/directory"
-prawn-svg does NOT support named elements, external references, the tspan tag, gradients/patterns or markers.
+prawn-svg does NOT support external references, gradients/patterns or markers.
[1] If the css_parser gem is installed, it will handle CSS style definitions, but only simple tag, class or id definitions.