*bump*
i still need help with this, otherwise i cannot confirm that the px/in change has no effect on the extension.
also when i send an email to this list it ALWAYS takes 6-9 hours till it shows up on the list, by that time usually 30 new emails arrived and no one sees my mail. any ideas what this could be? this is the only list with this problem.
regards, TimeWaster
On 26.4.2014 00:45, TimeWaster wrote:
hi,
im just fiddling around with the pixels/inch definition to test it with the plotter extension, and are failing at compiling inkscape in windows.
is the information in the wiki correct/up-to-date?
when linking i get a ton of errors i put here: http://pastebin.com/G832LRgC
can someone hint me in the right direction? i am no c programmer and aunt google could not help me.
reagards, TimeWaster
On 23.4.2014 10:36, Tavmjong Bah wrote:
Hi,
Unless someone objects, I am going to make the change from 90 pixels to inch to 96 pixels to inch in the files:
share/extensions/inkex.py share/ui/units.xml
This may break some content but it is better to do it now than later, especially that we now are using the 'viewBox' attribute for scaling.
I am also wondering if the change to using 'pt' for the unit in 'font-size' is really the correct way to go. It appears that mixing 'px' and other units is not well advised.
Tav
On Mon, 2014-04-14 at 20:04 +0200, Johan Engelen wrote:
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:
- 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
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel