stroke outline does not preserve miterlimit

Bug #165664 reported by Buliabyak-users
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Cth103

Bug Description

I fixed all the commands in splivarot so that they use
the actual style->stroke_miterlimit.value instead of
the preset value of 4. However, outline still does not
preserve the shape. Load the attached file and convert
its strokes to paths; various misbehaviors occur, as
indicated in the file.

Tags: renderer
Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

_Almost_ fixed. All the samples in the attached file are now
outlined correctly, except one. I now attach a new file with
that one sample in which the long miter is cut when outlined.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: YES

still there...

Changed in inkscape:
status: New → Confirmed
Revision history for this message
KoRi (koen-ribus) wrote :

Imo the behaviour of the outline (path to stroke) is correct, but the joins are rendered incorrect.

The join in the attached file is 5,71 deg in all cases (left side is the stroke, right side is the stroke converted to path). The corresponding miter limit at which the join is expected to change from bevel to miter is 20,075 (spec).

- Joins with straight line ends are correct -> top case in attached files.
- With bent line ends (bottom case) the behaviour of the 'stroke to path'-side is correct, while it seems that for a given miter limit the renderer allows to long miters.

Attachments:
- svg
- screenshot of the svg as rendered by Inkscape
- screenshot of the svg as rendered by FireFox

Revision history for this message
KoRi (koen-ribus) wrote :
Revision history for this message
KoRi (koen-ribus) wrote :
Revision history for this message
su_v (suv-lp) wrote :

> MiterTest2.svg
>
> Imo the behaviour of the outline (path to stroke) is correct, but
> the joins are rendered incorrect.

Reproduced with Inkscape 0.48.4 on OS X 10.7.5,
no longer reproduced with 0.48+devel (verified with r10795 and r12798 on OS X 10.7.5)

Changed in inkscape:
milestone: none → 0.91
status: Confirmed → Fix Committed
tags: added: renderer
su_v (suv-lp)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.