ellipse even stroke width

Post questions on how to use or achieve an effect in Inkscape.
blat
Posts: 2
Joined: Thu Feb 02, 2012 9:42 pm

ellipse even stroke width

Postby blat » Thu Feb 02, 2012 9:53 pm

Hi,

I have quite a simple problem, but cannot find the solution in the usual sources. It might just be that I am searching for the wrong things.

My issue is with ellipses. In inkscape they appear with an even stroke width (attached .tiff, left), but when the .svg is opened in chrome, or exported to
.eps, they have a variable stroke width (.tff right). How do I force an even stroke width?



Thanks in advance.
Attachments
ellipse.tif
ellipse.tif (16.05 KiB) Viewed 1865 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: ellipse even stroke width

Postby ~suv » Fri Feb 03, 2012 8:08 am

blat wrote:My issue is with ellipses. In inkscape they appear with an even stroke width (attached .tiff, left), but when the .svg is opened in chrome, or exported to .eps, they have a variable stroke width
Inkscape's old renderer is wrong, Chrome and other SVG viewers, and EPS/PS/PDF export are correctly interpreting the SVG file. The new renderer in Inkscape (part of the next major release) will fix this and render the shapes the same way as other viewers:
Bug #165715 in Inkscape: “Stroke to path squashes scaled lines (renderer is wrong)

blat wrote:How do I force an even stroke width?
In Inkscape, convert the shape (ellipse) to a path (menu 'Path > Object to Path') and nudge it with the arrow keys (e.g. a step up and down again) to flatten the explicit transformation directly into the path data and node coordinates. After this, the stroke will be rendered uniformly in Inkscape as well as other viewers (and in cairo-based exports to EPS/PS/PDF).

blat
Posts: 2
Joined: Thu Feb 02, 2012 9:42 pm

Re: ellipse even stroke width

Postby blat » Fri Feb 03, 2012 9:10 pm

Thanks, that fix works.


Return to “Help with using Inkscape”