Hi, I'm using Inkscape to make interfaces with very small elements.
I do find myself putting a lot of time and effort to produce "pixel-perfect" graphics.
What I do find wrong with Inkscape is that it shifts and scale graphics to non even values without apparent reason.
See this very simple example:
[solved] Rounded coordinates / snap
Re: Rounded coordinates / snap
I can't reproduce that.
So you start with an ellipse shown in the first frame. Then you do nothing else but type "127" into height field. After you press enter the Y value changes and so does the H value?
So you start with an ellipse shown in the first frame. Then you do nothing else but type "127" into height field. After you press enter the Y value changes and so does the H value?
Re: Rounded coordinates / snap
Exactly!
This happens almost constantly, so I have to correct various coordinates each time I made a change.
I don't know if matters, but I'm using development builds.
This happens almost constantly, so I have to correct various coordinates each time I made a change.
I don't know if matters, but I'm using development builds.
Re: Rounded coordinates / snap
Check out this bug https://bugs.launchpad.net/inkscape/+bug/210145
just hand over the chocolate and nobody gets hurt
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
Re: Rounded coordinates / snap
prkos wrote:Check out this bug https://bugs.launchpad.net/inkscape/+bug/210145
Yep, this seems the case. I hope they will squish it up soon, it's annoying.
Re: Rounded coordinates / snap
That bug is about very small rounding errors; the errors you see are in fact quite large. Are you using a stroke? I cannot judge this for sure from your picture, because it could have the same color as the fill. Please remove this stroke.
Next, on the tools tab in the preferences, select "visual bounding box" if it hasn't already been selected. If I'm correct, the values you enter are for either for the visual or geometric bounding box, depending on what you've selected in the preferences. After entering those values though, it will always display the dimension of the visual bounding box, regardless of the bounding box setting.
Regards,
Diederik
Next, on the tools tab in the preferences, select "visual bounding box" if it hasn't already been selected. If I'm correct, the values you enter are for either for the visual or geometric bounding box, depending on what you've selected in the preferences. After entering those values though, it will always display the dimension of the visual bounding box, regardless of the bounding box setting.
Regards,
Diederik
Re: Rounded coordinates / snap
Raising Numeric Precision seems to solve the problem, or at least minimize it.
I must say that I did lower that value to 4 and -4 hoping that this would help rounding coordinates to "friendly" numbers.
I was completely wrong.
I must say that I did lower that value to 4 and -4 hoping that this would help rounding coordinates to "friendly" numbers.
I was completely wrong.