Bug 688846 - stroking : stroke_fill must not apply fill_adjust
Summary: stroking : stroke_fill must not apply fill_adjust
Status: CONFIRMED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Graphics Library (show other bugs)
Version: master
Hardware: PC Windows XP
: P4 enhancement
Assignee: Robin Watts
URL:
Keywords: bountiable
Depends on:
Blocks:
 
Reported: 2006-08-24 01:56 UTC by leonardo
Modified: 2021-01-02 19:06 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments
Test case (470 bytes, application/postscript)
2021-01-02 05:11 UTC, Peter Cherepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description leonardo 2006-08-24 01:56:16 UTC
It should adjust the stroke width to integral pixels. Now it does only for 
vertical and horizontal strokes. Applying fill_adjust over an unadjusted width 
gives a variable visible width along the line.
Comment 1 Henry Stiles 2009-11-19 07:50:27 UTC
Reassigning path and fill problems to Robin Watts.
Comment 2 Robin Watts 2010-01-28 17:21:40 UTC
Reassigning to new email address.
Comment 3 Shailesh Mistry 2011-07-20 18:02:35 UTC
Bug still reproducible in Ghostscript 9.03
Comment 4 Peter Cherepanov 2021-01-02 05:11:12 UTC
Created attachment 20414 [details]
Test case

The problem still occurs in the current master branch.

"true setstrokeadjust" should keep the width of a line constant, i.e. the left and the right side of the line should change at the same position along the line. Ghostscript changes every side independently, creating a variation of thickness of 1 pixel along the line.

It appears that Ghostscript does not adjust the width of slanted lines at all.