[Resolved]Fill Replacing Border after Turning Border Transparent?

General discussions about Inkscape.
DragonFlightRider
Posts: 2
Joined: Sun Sep 03, 2017 1:58 pm

[Resolved]Fill Replacing Border after Turning Border Transparent?

Postby DragonFlightRider » Sun Sep 03, 2017 2:45 pm

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.

Image

Image

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.

Image

Thank you very much for any help.

Here is the svg. project file if needed:
Attachments
DVAtext.svg
(13.92 KiB) Downloaded 193 times
Last edited by DragonFlightRider on Mon Sep 04, 2017 7:55 am, edited 1 time in total.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Fill Replacing Border after Turning Border Transparent?

Postby Xav » Sun Sep 03, 2017 4:27 pm

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.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Fill Replacing Border after Turning Border Transparent?

Postby Moini » Sun Sep 03, 2017 9:15 pm

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).
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)

User avatar
flamingolady
Posts: 687
Joined: Wed Jun 10, 2009 1:40 pm

Re: Fill Replacing Border after Turning Border Transparent?

Postby flamingolady » Mon Sep 04, 2017 5:06 am

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.

DragonFlightRider
Posts: 2
Joined: Sun Sep 03, 2017 1:58 pm

Re: Fill Replacing Border after Turning Border Transparent?

Postby DragonFlightRider » Mon Sep 04, 2017 7:55 am

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. (:

User avatar
flamingolady
Posts: 687
Joined: Wed Jun 10, 2009 1:40 pm

Re: [Resolved]Fill Replacing Border after Turning Border Transparent?

Postby flamingolady » Mon Sep 04, 2017 8:47 am

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!


Return to “General Discussions”