Sharp corners with offset or adjust stroke outward?

Post questions on how to use or achieve an effect in Inkscape.
Guest

Sharp corners with offset or adjust stroke outward?

Postby Guest » Sun Jan 11, 2009 6:06 am

I have a block font with sharp corners that I want to outline with another color but I also want the outline to have sharp corners. I like the size of the font and when I adjust the stroke width it widens the stroke inward and outward simultaneously. Is there a way to only adjust the stroke outwards only so the base font isnt affected? Or is there an easy way to create an offset that doesn't have rounded corners (besides editing each corner in the path individually)?

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Sharp corners with offset or adjust stroke outward?

Postby microUgly » Sun Jan 11, 2009 8:32 am

Guest wrote:Is there a way to only adjust the stroke outwards only so the base font isnt affected?

Most vector formats allow you to specify if the stroke is inner or outer, but unfortunately this has not been included in SVG.
Or is there an easy way to create an offset that doesn't have rounded corners (besides editing each corner in the path individually)?

There's not feature that'll do this, but there is a technique. Create two copies of your path, give one path a stroke and use the other path to hide the inside part of the stroke. You could also convert Stroke to Path and use path difference so your two paths become one.

Guest

Re: Sharp corners with offset or adjust stroke outward?

Postby Guest » Wed Jan 14, 2009 9:28 am

Yes, you can do what you want. It's very easy. Put the text the way you want it, make a duplicate of the text, adjust the border size to the double of the size you want (As half is in and half out) and then put the duplicate with borders backwards the original text without borders. In that way the original font is rendered in front and only the borders wich excedes its size are shown.


Return to “Help with using Inkscape”