
Johan Engelen-4 wrote
Tav wrote:
Changing the Inkscape Document unit should not introduce any transforms on elements nor should changing the SVG root width/height or the viewBox.
No, the page size should stay the same. One way to do that is to maintain width=100mm, and recalculate the viewbox (this is what Inkscape does now). Then indeed all the values in the document should be changed into inches.
Johan, your reply seems in contradiction with what Tav wrote and that was exactly the point for my question: he is saying that the viewBox should not change. I still don't understand what he really meant.
About what you wrote, personally I can't see any reason to keep document's width and height specified in a unit different than the document unit and I'd convert them too. I find convenient to have the viewBox always kept in sync with the page width and height so there is a direct link between the document "user unit" and the physical "document unit". If your document has to speak in inches, also the page size should be specified so; and if one specifies an A4 page then wants to draw in inches, I think he should make a choice about where to live... :) I'm probably missing some good examples where this distinction is really needed.
Regards Luca
-- View this message in context: http://inkscape.13.x6.nabble.com/Units-in-Inkscape-tp4971507p4971546.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.