Re: [artworks] SVG scale

  • From: Jim Lesurf <jcgl@xxxxxxxxxxxxxxx>
  • To: artworks@xxxxxxxxxxxxx
  • Date: Thu, 12 Jan 2017 16:05:08 +0000 (GMT)

In article <c67a4efd55.jim@xxxxxxxxxxxxxx>, Jim Nagel
<aw@xxxxxxxxxxxxxxxx> wrote:

Bernard Boase  wrote on 12 Jan: ...
By first using Artworks' Scale tool to scale the selected object(s) by
0.1 (i.e. reducing their size to 10% of the original), the
export/import [of the SVG file] was successful.

Had a similar puzz the other day when I downloaded the PHP mascot (the
"elephpant"!), wanting to make a RiscOS filetype icon from it.

I looked for an SVG-to-drawfile conversion utility without much luck,
but Netsurf apparently has one built in, because it displas the SVG.
(Maybe this internal code is derived from the work Justin Fletcher
describes on his blog?)

From Netsurf I exported as drawfile, and dropped that into Artworks,
which displayed something tiny-tiny-tiny as Bernard described. Ungroup
it and magnify it, and behold.

Out of curiosity I just drew a quick scribble in AW and exported it as SVG.
If I load the result into a text editor I can see the values for the
locations, etc. Plus it has a scaling matrix. For simple objects I'd guess
rescaling was easy. However although the top of the file declares the
content to be a W3C fomat it doesn't give details of the scaling factors.
The values given in this case seem to all be integers. So some roughness
might arise if you scale too far. I've never studied the SVG format,
though.

Jim

-- 
Electronics  http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc  http://www.audiomisc.co.uk/index.html

------------------------------------------------------------
    To change, suspend or cancel your subscription go to
           //www.freelists.org/list/artworks
------------------------------------------------------------

Other related posts: