I'm including SVG graphics in PDF user guides. I need to control the displayed size programmatically, effectively scaling the SVG including all its content. The best result I've had so far is by changing only the values of the width and height attributes, leaving everything else untouched, and not even changing the viewBox. This would seem to fit with Martin Jacobson's description here: http://old.nabble.com/Affine-Transforms-on-JSVGCanvas-Objects-to25206324.html#a25209903 "The physical (ie display/print) dimensions are given by the "width" and "height" attributes, while the drawing dimensions are described by the "viewPort" attribute."
Is there anything I should beware of when using this approach to resize/rescale SVG? Anything I'm missing? Thanks for any tips. Joe --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
