Jump to content
Sign in to follow this  
cutmastercnc

Export to SVG enlarges drawing from 12X 8 to 40 X 26 inches

Recommended Posts

It's the week after Christmas--likely most of Serif is on holiday.

 

And you posted int he Tutorials section, not the bug section. That likely doesn't help.

 

Mike


My computer is a nothing-special Toshiba laptop with unremarkable specs running Windows 10 64-bit.

Share this post


Link to post
Share on other sites

For absolute length units, Inkscape and other programs use the CSS defined value of 96 pixels per inch. In the Document Setup dialog you currently have the 'DPI' value set to 300; changing this to 96 (and allowing objects to rescale) will give you an SVG document whose physical size displays in Inkscape as 12.8" x 8.5".


Alfred online2long.gif
Affinity Designer 1.7.0.367 • Affinity Photo 1.7.0.367 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.0.135 • Affinity Designer for iPad 1.7.0.9 • iOS 12.3.1 (iPad Air 2)

Share this post


Link to post
Share on other sites

Thanks, I was able to set it to 90 DPI and get to within .02 of actual size.  This is not good enough for what I wanted the program for in my cnc work. 

 

How can I move this to bugs?

Share this post


Link to post
Share on other sites

It isn't a bug. You have a stroke applied to the bounding rectangle, and the values in the Transform panel intentionally disregard the stroke weight. If you change the stroke alignment to 'Inside' and set the 'DPI' value to 96, the dimensions reported by Inkscape are 1152.001 x 767.999 pixels; when exported with a 'DPI' value of 90, it opens in Inkscape at exactly 1080 x 720 pixels or 12 x 8 inches.


Alfred online2long.gif
Affinity Designer 1.7.0.367 • Affinity Photo 1.7.0.367 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.0.135 • Affinity Designer for iPad 1.7.0.9 • iOS 12.3.1 (iPad Air 2)

Share this post


Link to post
Share on other sites

Thanks alot. It worked.

 

You're welcome. Thanks for the feedback. :)

 

Any reason why 90 instead of 96?

 

I dunno. A bug in Inkscape, perhaps? :unsure:


Alfred online2long.gif
Affinity Designer 1.7.0.367 • Affinity Photo 1.7.0.367 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.0.135 • Affinity Designer for iPad 1.7.0.9 • iOS 12.3.1 (iPad Air 2)

Share this post


Link to post
Share on other sites

I think InkScape looks at 72 pp. But it's been a while since I really looked.

 

Image resolution in the document set-up should really only apply to non-vector effects. That's what other applications do and it doesn't muck up the document size.

 

I set up a page in XDP to 8" x 12" and exported. It had a simple rectangle sized to the page and some outlined text. When InkScape opened it, it reported 72 dpi. When the units were switched to inches, it reported the page size properly:

 

post-255-0-60318800-1483390420_thumb.png

 

When the same XDP-generated SBG file was opened in AD, AD also reported the page size properly:

 

post-255-0-99833300-1483390464_thumb.png

 

If SVG export doesn't do the same, no-brainer export as XDP and AI and InkScape--if one needs trial and error and/or a calculator--then its a bug. If it isn't technically a bug and is as designed, then whomever designed it this way needs to rethink the whys and wherefores of their decision making.

 

Mike


My computer is a nothing-special Toshiba laptop with unremarkable specs running Windows 10 64-bit.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×