Bug 27936 - Bug in postscript roll implementation
Summary: Bug in postscript roll implementation
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-02 04:01 UTC by Thomas Freitag
Modified: 2010-05-02 15:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (forgot the constructor part) (1.16 KB, patch)
2010-05-02 04:01 UTC, Thomas Freitag
Details | Splinter Review
sample PDF where the patch solve the bug (177.49 KB, application/pdf)
2010-05-02 04:04 UTC, Thomas Freitag
Details

Description Thomas Freitag 2010-05-02 04:01:44 UTC
Created attachment 35373 [details] [review]
patch (forgot the constructor part)

There is a bug in the postscript roll implementation: if the second parameter is negativ, rolling is done just by one because the for loop was forgotten, i.e. 
6 -2 roll is done as if it was 6 -1 roll
Comment 1 Thomas Freitag 2010-05-02 04:04:46 UTC
Created attachment 35374 [details]
sample PDF where the patch solve the bug

without patch it is painted green, but it should be red
Comment 2 Albert Astals Cid 2010-05-02 15:32:10 UTC
Can you please try 0.13.3, I already fixed it there.


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.