Inkscape Community
Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: hecatoncheyr on February 25, 2018, 06:03:44 PM
-
Hi,
I've been having issues getting objects/paths to hold position (as when viewed in inkscape) when viewed in browser. As seen in the attached mockup sample images the triangle is correctly positioned towards the bottom of the image when viewed in inkscape. When saved and viewed in the browser, it jumps to an entirely different position. I'm new to inkscape so there's something I'm not understanding and/or don't know for this issue to persist. I've literally spend the past two days this weekend working on solving this issue and have not been able to do so.
I've tried the following:
1. Converting objects to paths.
2. Using existing transform/translate in the XML viewer to position the object.
3. Using existing transform/matrix in the XML viewer to position the object.
4. Removing all transforms from the XML viewer.
5. Manually creating transformations in the XML viewer. (Both translate/matrix)
6. Grouping the paths
7. Combining paths
8. Unifying(Union) the paths
9. Grouping/ungrouping/regrouping the paths.
9. Creating a new layer, tracing the original, in an exact copy, then deleting the original.
10. Duplicating the layer and shifting them around the screen (they all snap to the same wrong position in browser)
11. Use the transform dialogue box to move things and applying it to each object separately.
12. Using a duplicate SVG file to import the objects/paths/layers again. (sometimes works???, sometimes just 'anchors it to a different position)
13. Googling transform position issues and reading different recommendations.
14. Using the paste in place command seems to shift it around but not make it stick where its supposed to be.
15. Various combinations of all of the above.
At this point, I've tried so many different things I can't keep track of them all. So there's something I'm not understanding or aware of. I don't know what to do, except start all over (again) and hope I don't repeat the same steps that cause this issue.
If anyone can help, I'd appreciate it.
Thanks
-
Can you share the SVG image, and also inform us which browser you're using to view the file?
-
Welcome to the forum!
In addition to what Moini asked for, can you give us the link to a page where you have the SVG image embedded? I might be informative for people with different browsers to test and look at it.
-
I figured out the issue was being caused by an affine transformation outside inkscape. http://mathworld.wolfram.com/AffineTransformation.html
Once it was accounted for, everything snapped into place correctly. It only took me 3 days after my original post to figure it out... :b1:
Thanks!
-
Sounds like you had a fun 3 days :-P Glad it works now!
-
"affine transformation" had to look that up!
Except that you didn't mention using them, I might have guessed you had one or more LPEs in the image. But having looked up that term, it makes me wonder if some of the LPEs use that, I mean in the maths which make them work.