
On 2007-February-21 , at 00:00 , jiho wrote:
On 2007-February-20 , at 21:04 , bulia byak wrote:
On 2/20/07, Tyler Smith <tyler.smith@...254...> wrote:
I'm a new user of Inkscape 0.44.1 as distributed with Debian Etch. I'm very impressed with the features it provides, but some basics are escaping me. I'm working with a postscript file, converted via
pstoedit -pta original.ps output.svg
Ah, sorry I missed that - yes, most likely it's the viewBox inserted by pstoedit.
I've had similar problems with svg created via pstoedit. I had some weird zoom factors and transformation matrices but no viewBox parameter if I recall correctly. I'll check and report, this would be nice to fix, especially if we decide to rely on pstoedit to import eps and ps into Inkscape (and drop the large dependency of sketch for this).
Ok, I've checked and in fact I had a viewBox parameter but no one, including me, noticed this when I reported this (it was quite a long time ago). So thanks Bulia for pointing this out now. My viewBox is in the opening <svg> <svg width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none"> If I delete it, the page stays 8x8 inches but the drawing is reduced to a very small corner of 1x1px in the upper left. when drawing new things on this document, Inkscape tools behave correctly (1px stroke, correct font sizes...) but all this obviously looks enormous compared to the drawing, just as it looked on the non-corrected file. Is there a way to eliminate viewBox and still keep the correct size of the drawing which is compatible with Inkscape? Other than:
[...] open the SVG in Inkscape, select all, copy and paste everything in a new document. The new document will behave correctly.
If something can be done, I'll be glad to try to add this to the pstoedit version of the eps and ps input extensions. I use them all the time and avoiding copy-pasting would be great.
JiHO --- http://jo.irisson.free.fr/