Bug 96429

Summary: clip with large extents is unreliable, changes with zoom
Product: cairo Reporter: Jason Crain <jason>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: cairo-test.c

Description Jason Crain 2016-06-07 20:18:20 UTC
Created attachment 124391 [details]
cairo-test.c

Forwarding from https://bugs.debian.org/728358

The PDF at https://bugs.debian.org/cgi-bin/bugreport.cgi?filename=D.pdf;bug=728358;att=1;msg=5 does not always render correctly in evince or pdftocairo.  The drawing in the middle of the page disappears at some zoom levels.  The PDF contains drawing commands with large numbers like:

    0 0 m
    0 2147483647 l
    1098 2147483647 l
    1098 0 l
    W* n

Which means clip to a very large box.  I can reproduce this behavior in cairo with the attached C program.  Clipping to a large rectangle will sometimes cause any further drawing to not happen, though depending on the scaling (set by calling cairo_scale) it will sometimes work.
Comment 1 GitLab Migration User 2018-08-25 13:34:44 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/cairo/cairo/issues/79.

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.