Tk Source Code

View Ticket
Login
Ticket UUID: 3047583
Title: line -smooth raw looks funny in Postscript
Type: Bug Version: 8.5.1, 8.6.18, 9.0.5, 9.1b1
Submitter: wolf1954 Created on: 2010-08-18 09:14:24
Subsystem: 06. Canvas Postscript Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Pending Last Modified: 2026-09-22 13:16:47
Resolution: None Closed By:
    Closed on:
Description:
Program-generated cartoon has lines on canvas .c with option -smooth raw such that they render as cubic bezier.

If there are more than 1 bezier sequence, then the line width varies wildly at the limb points.

Demonstration: create canvas .c, then source manneken.dump, then say .c postscript, then watch the result.

Compare with manneken.ps

If there are questions, mail to [email protected]
User Comments: serhiy.storchaka added on 2026-09-22 13:16:47:

I cannot reproduce with 8.6.18, 9.0.5 and 9.1. A line with several cubic Bezier sequences and -smooth raw produces one "curveto" per sequence and a single "setlinewidth", and the PostScript rendered by Ghostscript has the same shape and the same constant width as the canvas on the screen, both where the sequences join smoothly and where they form a corner.

The script manneken.dump is not attached to the ticket (only manneken.svg survived the migration) and I could not find it elsewhere, so I could not check the original drawing. If the problem still occurs, please attach the script.


wolf1954 added on 2010-08-18 16:14:25:

File Added - 383784: manneken.svg

Attachments: