
Terry Brown escribió:
On Thu, 25 Sep 2008 15:09:55 -0300 "bulia byak" <buliabyak@...155...> wrote:
If you really need it, I think it's easiest to do by a XSLT script that would add a transform= attribute to the root svg tag of all files and adjusts width/height.
I tried just now "add a transform= attribute to the root svg tag" (transform="scale(2.)") and that seemed to have no effect on the file as loaded by inkscape. Changing the width/height attributes of the root svg tag is probably simpler than what I just suggested in the previous post, although not a lot, if you're using xslt.
I'm assuming the poster has some application where they want to import lots of .svg files into an Inkscape project as clipart, and they're all at the wrong size and have to be resized each time which would be annoying.
Of course just changing the scale of the project into which you're importing might be the easiest approach if that's the case.
Cheers -Terry
Actually I'm designing some gliphs to be used as part of a font, the problem is that all the gliphs have to be a separate .svg file to be then imported into FontForge. We ran into a problem where the scale of the .svg's is too small and there's no easy way to resize them in FontForge. We went with .svg rather than bitmap files because they are already vector graphics which can be directly manipulated in FontForge, however we are taking too much time doing the resize of the files, and we don't seem to be able to attain a consistent scale (i.e. all characters of the same/consistent size). Hence rather than opening up each individual gliph (over 180 individual files, thus far), I thought if it could be possible to apply a batch "transform" to change the size of the files "in one pass". That was my original question, rather than a "representation" scale of the SVGs (by a given factor).