Bug 62369

Summary: images with backwards bounding boxes are not displayed properly
Product: poppler Reporter: Mathieu Malaterre <mathieu.malaterre>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: Thomas.Freitag
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: demo pdf
check order bounding box values in tiling pattern

Description Mathieu Malaterre 2013-03-15 13:12:28 UTC
Created attachment 76558 [details]
demo pdf

Attached is a special PDF file, where the images are drawn inside patterns, and the pattern bounding box y values are reversed.
Comment 1 Mathieu Malaterre 2013-03-15 13:13:28 UTC
For more information see also the original debian report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687379
Comment 2 Albert Astals Cid 2013-03-19 22:25:16 UTC
Thomas do you have time to look at this?

On a quick inspection seems something is wrong at Gfx::doTilingPatternFill i got yi0 and yi1 to both be 0.
Comment 3 Thomas Freitag 2013-03-20 10:18:07 UTC
(In reply to comment #2)
> Thomas do you have time to look at this?

I'll try

> 
> On a quick inspection seems something is wrong at Gfx::doTilingPatternFill i
> got yi0 and yi1 to both be 0.

You're probably right: I just read the background information in the debian report. Funny, seems as if Derek is still on air (he answered that it is a problem in Gfx::doTilingPatternFill() and he fixed it, unfortunately he didn't tell how).
Comment 4 Thomas Freitag 2013-03-20 14:18:50 UTC
Created attachment 76817 [details] [review]
check order bounding box values in tiling pattern

Patch created with the hint of Derek in  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687379
Comment 5 Albert Astals Cid 2013-03-20 21:36:09 UTC
Awesome as always :-)

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.