Bug 87254

Summary: pdftops incorrectly renders Bézier curves when part of closed paths
Product: poppler Reporter: cfr <reescf>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Original PDF with curves which are part of closed paths (top 3) or not (bottom 2)
Output from pdftops showing curves which are part of closed paths as rectangles

Description cfr 2014-12-12 02:51:42 UTC
Created attachment 110766 [details]
Original PDF with curves which are part of closed paths (top 3) or not (bottom 2)

When Bézier curves are part of closed paths, pdftops renders them as rectangles. 

Attached: original PDF which includes sample curves. Top three are part of closed paths. Bottom two are part of open paths. When pdftops is applied to this file, the top three paths are rendered as rectangles, while the bottom two render fine.

If I can attach a second file in a moment, I will also attach the PS output.

The problem can be demonstrated by viewing the resulting postscript in Okular (with the ghostscript backend), Evince, gv and when printing. 

For comparison, pdf2ps (ghostscript) renders the curves correctly.

[Initial description of the problem as a query about a LaTeX package at http://tex.stackexchange.com/questions/217562/why-do-tikz-b%C3%A9zier-curves-print-as-rectangles-when-part-of-a-closed-path.]
Comment 1 cfr 2014-12-12 02:53:36 UTC
Created attachment 110767 [details]
Output from pdftops showing curves which are part of closed paths as rectangles
Comment 2 GitLab Migration User 2018-08-21 11:17:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/602.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.