README.md in prawn-svg-0.12.0.2 vs README.md in prawn-svg-0.12.0.3

- old
+ new

@@ -14,13 +14,17 @@ Prawn::Document.generate("svg.pdf") do svg svg_data, :at => [x, y], :width => w end ``` -<tt>:at</tt> must be specified. <tt>:width</tt>, <tt>:height</tt>, or neither may be specified; if neither is present, +<tt>:at</tt> must be specified. + +<tt>:width</tt>, <tt>:height</tt>, or neither may be specified; if neither is present, the resolution specified in the SVG will be used. +<tt>:cache_images</tt>, if set to true, will cache images per document based on their URL. + Supported features ------------------ prawn-svg is in its infancy and does not support the full SVG specifications. It currently supports: @@ -44,11 +48,11 @@ - <tt>use</tt> tag - <tt>style</tt> tag, if css_parser gem is installed on the system (see CSS section below) - - <tt>image</tt> tag, only with http/https schemes and preserveAspectRatio of 'xMidYMid' (default) or 'none' + - <tt>image</tt> tag, only with http/https schemes; does not support 'slice' preserveAspectRatio - attributes/styles: <tt>fill</tt>, <tt>stroke</tt>, <tt>stroke-width</tt>, <tt>opacity</tt>, <tt>fill-opacity</tt>, <tt>stroke-opacity</tt>, <tt>transform</tt> - transform methods: <tt>translate</tt>, <tt>rotate</tt>, <tt>scale</tt>, <tt>matrix</tt> @@ -72,9 +76,9 @@ so do not expect too much of it. Not supported ------------- -prawn-svg does NOT support external references, measurements in en or em, gradients/patterns or markers. +prawn-svg does NOT support external references, measurements in en or em, sub-viewports, gradients/patterns or markers. -- Copyright Roger Nesbitt <roger@seriousorange.com>. MIT licence.