Summary: | Even/odd clipping issue | ||
---|---|---|---|
Product: | MuPDF | Reporter: | zeniko |
Component: | fitz | Assignee: | 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
Created attachment 5187 [details]
minimal testcase
MuPDF renders this very simple file pretty much inverse to what Adobe Reader
does.
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. Committed a patch that closes open subpath segments when filling a path. |