Re: [Inkscape-devel] [Inkscape-user] the Scale setting and Display units
Here's the new FAQ. If I've made any mistakes, or left something out, or some language can be improved, please let me know. Or if you have the right access, please feel free to change it yourself.
https://inkscape.org/en/learn/faq/?edit_off=true#how-change-display-units-ve...
If anyone is interested in writing a more detailed and technical explanation of all this, in the wiki, we can link to it from the faq. (Or if there already is one, please give me the address and I'll make the link.
Thank you very much! brynn
-----Original Message----- From: Marc Jeanmougin Sent: Monday, September 18, 2017 2:52 AM To: inkscape-user@lists.sourceforge.net Subject: Re: [Inkscape-user] the Scale setting and Display units
Hi,
On 09/18/2017 03:19 AM, brynn wrote:
So when someone needs to change the Display units, so that their drawing is as close to real world size as possible, do this:
1 -- set the desired Page Size and units (this sets the viewBox, right?) 2 -- temporarily change Display units to px 3 -- change the Scale to 1 4 -- change the Display units to the desired unit 5 -- the Scale will automatically change to the appropriate value 6 -- leave everything else alone
Yes
If that's correct then
1 -- I'll make a new FAQ item for it (if no objections) - perhaps link to Marc's article about it - or is there a wiki page for it? 2 -- I'm really thinking Inkscape needs to do all that internally. I think users should be able to simply select the unit they want, the page size they want, and Inkscape does the rest. May I make the bug/feature report, or is it already planned or requested?
If that's not correct, please tell me where I'm going wrong.
We also can control the "scale" because, whether it is practical or not, the current behavior of the "default mm" template is that a unitless value in the document (like width="5"), like inkscape sets by default, is in millimeters to be able to "see" it in the xml. (Which also means that width="5mm" will NOT be 5mm)
Oh, one last question.
If you only measure
your stuff with the display units (and do not use units in the code, it should not matter (tools "should" take the scale into account, and if some do not it's an bug
Do you mean to say that it's possible some tools are not respecting the Scale? Or is that more of a theory.
Technically possible, especially with extensions.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Am 24.09.2017 um 11:44 schrieb brynn:
Here's the new FAQ. If I've made any mistakes, or left something out, or some language can be improved, please let me know. Or if you have the right access, please feel free to change it yourself.
https://inkscape.org/en/learn/faq/?edit_off=true#how-change-display-units-ve...
If anyone is interested in writing a more detailed and technical explanation of all this, in the wiki, we can link to it from the faq. (Or if there already is one, please give me the address and I'll make the link.
Thank you very much! brynn
Hi brynn,
just two notes on the (*):
* "It does not correspond to any specific size": As a matter of fact it does (right now it's 1/96 inch). The problem is more that this scale - as pointed out by others in the discussion before - can change at the will of the W3C. If they ever decide to change it again we'd neet to scale documents again (but this time it will be possible to do this fully automatic, i.e. should not require the users interaction anymore) * "It can't be used offline -- for example, you can't print an image in pixels, because the printer doesn't use pixels for a measurement.": That sounds as if the printer would stop working if I tried anyway (which obviously is not true). Printing a px-based document works just as well, what users have to be aware of that a "dot" (as in "dots per inch" or dpi of the printer) does not relate to the px in the SVG document which has a fixed scale.
What about dropping the (*) as well as the term "real world units" altogether? I think it's not strictly relevant within the scope of your answer (choosing "px" and "mm" works exactly the same way for users).
Regards, Eduard
Thanks Eduard, I used "real world units" because it was part of your explanations that I latched on to and understand. In the faq, I thought it was important to explain that there's a fundamental difference between px and all the other units.
But yeah. I guess it would still work without that. Revised: https://inkscape.org/en/learn/faq/?edit_off=true#how-change-display-units-ve...
All best, brynn
-----Original Message----- From: Eduard Braun Sent: Sunday, September 24, 2017 4:53 AM To: Inkscape User Community ; brynn ; Inkscape-Devel Subject: Re: [Inkscape-user] the Scale setting and Display units
Am 24.09.2017 um 11:44 schrieb brynn: Here's the new FAQ. If I've made any mistakes, or left something out, or some language can be improved, please let me know. Or if you have the right access, please feel free to change it yourself.
https://inkscape.org/en/learn/faq/?edit_off=true#how-change-display-units-ve...
If anyone is interested in writing a more detailed and technical explanation of all this, in the wiki, we can link to it from the faq. (Or if there already is one, please give me the address and I'll make the link.
Thank you very much! brynn
Hi brynn,
just two notes on the (*):
"It does not correspond to any specific size": As a matter of fact it does (right now it's 1/96 inch). The problem is more that this scale - as pointed out by others in the discussion before - can change at the will of the W3C. If they ever decide to change it again we'd neet to scale documents again (but this time it will be possible to do this fully automatic, i.e. should not require the users interaction anymore) "It can't be used offline -- for example, you can't print an image in pixels, because the printer doesn't use pixels for a measurement.": That sounds as if the printer would stop working if I tried anyway (which obviously is not true). Printing a px-based document works just as well, what users have to be aware of that a "dot" (as in "dots per inch" or dpi of the printer) does not relate to the px in the SVG document which has a fixed scale.
What about dropping the (*) as well as the term "real world units" altogether? I think it's not strictly relevant within the scope of your answer (choosing "px" and "mm" works exactly the same way for users).
Regards, Eduard
participants (2)
-
brynn
-
Eduard Braun