Hello, I recently seem to have encountered a problem on Inkscape that I can not figure how to fix. The only way I can describe the problem is that when trying to remove a border from my paths, Fill seems to simply "replace" it with my selected Fill color instead, as oppose to removing the Stroke/Border via transparency. Removing the Stroke color does make my paths slightly thinner, but the Fill is still clearly wider than the one with the black Border, and does not properly give the lineless effect that I want. I assume I accidentally selected something to make this happen, but I have no idea how to undo it.
I had previously been able to remove the Stroke color with no problem as shown in the picture below. Unfortunately I didn't save a svg. file with it properly Strokeless, I only have a png, form of it, so I cannot simply copy and past the Strokeless one into a new project and just work from there.
Thank you very much for any help.
Here is the svg. project file if needed:
[Resolved]Fill Replacing Border after Turning Border Transparent?
-
- Posts: 2
- Joined: Sun Sep 03, 2017 1:58 pm
[Resolved]Fill Replacing Border after Turning Border Transparent?
- Attachments
-
- DVAtext.svg
- (13.92 KiB) Downloaded 195 times
Last edited by DragonFlightRider on Mon Sep 04, 2017 7:55 am, edited 1 time in total.
Re: Fill Replacing Border after Turning Border Transparent?
The problem is that SVG specifies that the stroke is applied half inside and half outside of the shape. So when you remove the stroke, it not only removes the half that's outside the shape, but also reveals the fill below the half that was inside.
You can see this more clearly if you change your stroke colour to be translucent by setting it's alpha value to about half in the Fill & Stroke dialog.
Recent versions of Inkscape let you change the paint order, so that the stroke is drawn behind the fill, on the last tab of the Fill & Stroke dialog. This doesn't solve the issue as such - you'll end up needing a smaller object and wider stroke to get the same appearance - but it will be less of a surprise if you turn the stroke off.
The only real answer, I'm afraid, is to edit your shapes to make them smaller.
You can see this more clearly if you change your stroke colour to be translucent by setting it's alpha value to about half in the Fill & Stroke dialog.
Recent versions of Inkscape let you change the paint order, so that the stroke is drawn behind the fill, on the last tab of the Fill & Stroke dialog. This doesn't solve the issue as such - you'll end up needing a smaller object and wider stroke to get the same appearance - but it will be less of a surprise if you turn the stroke off.
The only real answer, I'm afraid, is to edit your shapes to make them smaller.
Re: Fill Replacing Border after Turning Border Transparent?
You could try this quick method to save yourself manual editing:
Duplicate the shape. Add the stroke back to the duplicate at the top. Do Path -> Stroke to Path with the stroked duplicate. Now substract the dark stroke from the shape with only the white fill below (select both, do Path -> Difference).
Duplicate the shape. Add the stroke back to the duplicate at the top. Do Path -> Stroke to Path with the stroked duplicate. Now substract the dark stroke from the shape with only the white fill below (select both, do Path -> Difference).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
- flamingolady
- Posts: 687
- Joined: Wed Jun 10, 2009 1:40 pm
Re: Fill Replacing Border after Turning Border Transparent?
How about - similar to what Moini said, but a bit diff approach, is to duplicate the object, (have no stroke), put it one level below and click on Path>Outset until you reach the desired size (or use dynamic offset, but that tends to lose shape as it gets larger), you can set it at any color, so it 'acts' like a stroke fill, then group or combine. Seems like v 92 handles a bit different than what we were used to with .48, etc, and I'm still not quite used to it.
-
- Posts: 2
- Joined: Sun Sep 03, 2017 1:58 pm
Re: Fill Replacing Border after Turning Border Transparent?
Thank you all very much for all the suggestions! Duplicating my object and using Path>Inset (outset made it larger) worked for me and saved me the time it would have taken to redo it. (:
- flamingolady
- Posts: 687
- Joined: Wed Jun 10, 2009 1:40 pm
Re: [Resolved]Fill Replacing Border after Turning Border Transparent?
Glad it worked for you Dragon. I should have specified Outset AND inset, but glad you had enough info to make it work. There are usually several ways to 'get er done' in Inkscape!