runemadsen / rune.js

A JavaScript library for programming graphic design systems with SVG
http://runemadsen.github.io/rune.js
MIT License
654 stars 35 forks source link

Downloaded SVG is invalid in Illustrator #35

Open runemadsen opened 6 years ago

runemadsen commented 6 years ago
jarmitage commented 5 years ago

Any update on this?

runemadsen commented 5 years ago

Are you encountering an issue opening the file in Illustrator? If so, can you post your error here?

For downloading, I would suggest download.js

jarmitage commented 5 years ago

I didn't try because I saw this issue, and couldn't see any documentation about exporting SVG from Rune. But I will give it a go, thanks.

jarmitage commented 5 years ago

Working so far. I attached a demo in case you / someone else wants it for documentation.

runeExportSVGDemo.zip

jarmitage commented 5 years ago

Is there any means to use absolute units in Rune? (for reference: https://crashcourse.housegordon.org/D3JS-Absolute-Units.html)

jarmitage commented 5 years ago

Updated the demo with a PPI parameter so your pixels will be scaled to MM 2019-04-11_rune.zip