Bug 690606 - Even/odd clipping issue
Summary: Even/odd clipping issue
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fitz (show other bugs)
Version: unspecified
Hardware: All All
: P4 normal
Assignee: Tor Andersson
URL: http://code.google.com/p/sumatrapdf/i...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 19:52 UTC by zeniko
Modified: 2009-08-25 14:24 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
minimal testcase (417 bytes, application/pdf)
2009-07-06 19:55 UTC, zeniko
Details

Note You need to log in before you can comment on or make changes to this bug.
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.