Bug 690606

Summary: Even/odd clipping issue
Product: MuPDF Reporter: zeniko
Component: fitzAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://code.google.com/p/sumatrapdf/issues/detail?id=216
Customer: Word Size: ---
Attachments: minimal testcase

Description zeniko 2009-07-06 19:52:37 UTC
 
Comment 1 zeniko 2009-07-06 19:55:05 UTC
Created attachment 5187 [details]
minimal testcase

MuPDF renders this very simple file pretty much inverse to what Adobe Reader
does.
Comment 2 Tor Andersson 2009-08-25 10:50:43 UTC
A path with several subpaths (moveto lineto segments) is not having all the subpaths closed, which leads 
to the left line of the outer rectangle in the minimal test case not existing, thus the entire outer rectangle 
is not filled.

The fix is to make sure all subpaths are closed when doing pdf_showpath with doclose set.
Comment 3 Tor Andersson 2009-08-25 14:24:08 UTC
Committed a patch that closes open subpath segments when filling a path.