1) no difference. I tried this yesterday already... yes, i am running windows 7 and didnt change the dpi.
2) mhm... with and without your units.xml the zoom / mm adjustment ist 100....
i tried your steps... but.... something is wrong here..... now, i have 3 svg-files.... they are all wrong.... AHHHHH!
but, i think i have a workaround:
- i convert ai to png using 72 DPI (instead default 90) i loaded the png to illustrator, both files have the same size in cm / inch.
- i convert ai to svg (still wrong size) and enclose the svg with a scaled box to recalculate 90 (why 90 and not 96???) to 72 dpi .... <g transform="scale(0.800317481315)"><image overflow="visible" width="151.19" height="61.606499" xlink:href="file:///C:/workspace/ritter/homepage/html/media/Penbuilder/uploads/2010/01/22/358/RitterPen-klein_2820_1.svg"></image></g> .....
not really a solution, but only the result counts :)
i am not sure why you got other results... iam confused :)
tobias
Am 22.01.2010 11:05, schrieb Linda A. Walsh:
Tobias Schulz wrote:
hi Linda,
based on your information that illustrator uses 72dpi, i did some tests.
if i export my AI-Files to PNG using 72 DPI (command line option -d 72) everything is perfect. but, i need a svg file. I am not able to export the svg file with a dpi-setting. sure, dpi have no meaning... So... i am ... without imagination.
i tried to set every dpi-value i found in preferences to 72 DPI. i tried to set width/height values during export via command-line.
So, is my last chance to enclose image with a scale-matrix?
thanks a lot, i appreciate your help!
tobias
No...Try this: 1) (this step may be optional, if you want to experiment,
go straight to 2 else...) in C:\Program Files (x86)\Inkscape\share\ui, rename file units.xml to units.xml.save and copy the attached version in it's place. It will set inkscape's dpi to 96 which = the default level of your OS, (from your email headers, you appear to be running windows 7, yes?) _assuming_ you haven't adjusted Window's default dpi value (under Control Panel->Display).
2) In Inkscape, under File->Inkscape Preferences->Interface
Use a ruler and set the "Zoom correction factor" so that whatever you use for measuring, say 100 'mm', is measured out to be exactly 100mm. (The value on my screen was 104.17, but this was using my corrected file attached, which may change the value...don't know).
Using the above steps, I created 3 objects square cube sphere with 1" diameters. Saved them as .svg. Read the file in to AI and they measured as 1" -- same size in both applications. Hopefully this will work for you too? :-)
(It's been a learning experience for me as well!)
Linda
Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user