Bug 96387 - CairoOutputDev does not work with tiling patterns with a non zero BBox x,y
Summary: CairoOutputDev does not work with tiling patterns with a non zero BBox x,y
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-05 13:19 UTC by Adrian Johnson
Modified: 2016-07-02 08:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test case (4.15 KB, application/force-download)
2016-06-05 13:19 UTC, Adrian Johnson
Details
fix for tiling patterns with non zero BBox x,y (2.29 KB, patch)
2016-06-05 13:21 UTC, Adrian Johnson
Details | Splinter Review

Description Adrian Johnson 2016-06-05 13:19:37 UTC
Created attachment 124327 [details]
test case

The attached PDF from the cairo test suite demonstrates incorrect rendering of the tiling pattern.
Comment 1 Adrian Johnson 2016-06-05 13:21:27 UTC
Created attachment 124328 [details] [review]
fix for tiling patterns with non zero BBox x,y

The problem is caused by CairoOuputDev assuming that pattern BBoxes have a 0,0 origin. The attached path fixes this.
Comment 2 Carlos Garcia Campos 2016-07-02 08:21:05 UTC
Please, push it.
Comment 3 Adrian Johnson 2016-07-02 08:30:08 UTC
Pushed


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.