Bug 688846

Summary: stroking : stroke_fill must not apply fill_adjust
Product: Ghostscript Reporter: leonardo <leonardo>
Component: Graphics LibraryAssignee: Robin Watts <robin.watts>
Status: CONFIRMED ---    
Severity: enhancement CC: shailesh.mistry, sphinx.pinastri
Priority: P4 Keywords: bountiable
Version: master   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---
Attachments: Test case

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.