Stroke to path squashes scaled lines (renderer is wrong)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Inkscape |
Fix Released
|
Medium
|
Krzysztof Kosinski | ||
Bug Description
When you convert a stroke to a path (or output to .ps),
the conversion from strokes to paths happens *before*
applying transform matrices, but the SVG renderering
engine strokes shapes *after* applying transform
matrices. The result is that if you have a stroked
shape that you have nonisotropically stretched, the
path representation of the lines in Postscript format
has different line thicknesses for the shape, depending
on the orientation of the line relative to the
direction of greatest stretch. This creates unforseen
differences between what's on the screen and what is
written out to Postscript (and therefore what is printed).
You could make the PS output act like the screen
renderer, or alternatively provide a function for
"flattening" transform matrices, by applying matrices
to vertices of shapes and then setting the matrices to
the identity. This could be applied prior to
conversion from stroke to path, so that the current
stroke->path conversion acts on transformed strokes,
not on untransformed strokes.
| Changed in inkscape: | |
| status: | New → Confirmed |
| Changed in inkscape: | |
| status: | Fix Committed → Fix Released |

Actually PS output and Outline get it right, while our
renderer is broken, according to the spec. See this bug:
http:// sourceforge. net/tracker/ index.php? func=detail& aid=851008& group_id= 93438&atid= 604306
I can easily change Outline so it produces the same output
as you have on-screen before running the command. But I
don't see much point to it, given that the on-screen display
is wrong.
Fixing the renderer is another (long and painful) story...