On 12-4-2014 2:26, Mark Schafer wrote:
What impact will that have on all extensions that work in actual units.
e.g. making mods to the Gears-dev extension which converts everything 
assuming 90dpi is px.

There is the "unittouu" function to take care of this (so that the extension code need no longer worry). Look at rev. 12722.
So when we have to change to 96 "px" per inch, for extension we would only have to make the change in one file (inkex.py).

So entries in mm draw an object of the correct size for printing at 90dpi.
I am not using Viewboxes. I don't know how to make one.
If we need to update extensions for 0.91 - I am happy to try to fix some.
Cheers...

On 4/11/2014 11:57 PM, Tavmjong Bah wrote:
On Fri, 2014-04-11 at 13:52 +0200, Krzysztof KosiƄski wrote:
2014-04-11 13:39 GMT+02:00 Tavmjong Bah <tavmjong@...8...>:
<svg width="20in" height="15in" viewBox( 0 0 20 15 ) ... >

Once you have done this, one user unit is one inch. If you actually set
a length to an inch inside the file (i.e. width="1in"), it will be
interpreted as 90 inches since we use 90 user units per inch.
So the behavior is:

1. In the width / height attributes on the topmost <svg> element, "in"
denotes the intended physical display size of the document.
2. Anywhere else, "in" denotes exactly 96px.

Is that correct?
Almost... "in" denotes 96 user units which is equal to 96px if there is
no scaling.

Tav




------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel