Under certain conditions Inkscape will render a line between objects that have no gap between them. I understand this is due to software issues in the rendering engine for anti-aliased objects, although I am not a programmer and it may be for some other reason entirely. The error occurs in both the on-screen display, and, much more unfortunately, in the bitmap export as well.
In any case, this seems to be a recurring problem, and the workarounds that have been proposed over time involve either overlapping the objects a tiny bit, or putting another object behind them to cover the rendered "gap", neither of which seem very satisfactory. Aligning the objects to the pixel grid, as far as i can tell, does not resolve the problem.
However, after doing some experimentation, i believe i can offer a very usable solution, although I suppose the developers will fix it in a more effective way soon enough...
For onscreen display, the line between objects that are touching each other, as others have observed, goes away at certain zoom levels. I determined these to be zooms that are multiples of 5, so that one can enter such a magnification in the bottom right hand corner to get accurate onscreen results.
For bitmap export, the result is similarly accurate, i.e. an anomalous line is NOT displayed, at export resolutions that are multiples of 3. This is set in the export bitmap dialog box. Once the bitmap is exported, if one needs a resolution other than the one used for export, there are a variety of image editors that one can use to change the embedded resolution of the bitmap. if one needs a bitmap of a very specific pixel dimension, then of course one has to resize the drawing in Inkscape prior to exporting; this is complicated but alas, necessary.
This method is effective on Windows (XP), using a recent build of Inkscape. If you use another platform and find it effective or ineffective you could mention it here...
Hope this helps!
As of july 2012 this method no longer seems to work! I would take this post down to avoid misleading anyone but for now I am leaving it up for informative purposes. I believe 0.48.1 might have been the last version that this worked on.
Unexpected Line Rendering Between Adjacent Objects?
Unexpected Line Rendering Between Adjacent Objects?
Last edited by druban on Sun Jul 15, 2012 7:09 am, edited 1 time in total.
Your mind is what you think it is.
Re: Unexpected Line Rendering Between Adjacent Objects?
Thanks.
!!! Support wishlist: A new perspective / transformation tool http://tinyurl.com/3uacua4
* Inkscape Tutorial Basics A different approach... http://tinyurl.com/3pextp3
* What do I use Inkscape for http://tinyurl.com/3pbna6l
* Inkscape Tutorial Basics A different approach... http://tinyurl.com/3pextp3
* What do I use Inkscape for http://tinyurl.com/3pbna6l
Re: Unexpected Line Rendering Between Adjacent Objects?
I wish to ask this. Has anyone checked out what's going on with this line in print?
Thankyou and merry christmas.
Ponny
Thankyou and merry christmas.
Ponny
Did you see the indigo Pony, when he came from other side wall of the night?
Re: Unexpected Line Rendering Between Adjacent Objects?
I got zero answers to my question. So I tested myself. Result is: on printing is this lines not visible.
Ponny
Ponny
Did you see the indigo Pony, when he came from other side wall of the night?