[Poppler-bugs] [Bug 101417] New: alpha constant on tiling pattern

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 14 03:17:19 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101417

            Bug ID: 101417
           Summary: alpha constant on tiling pattern
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glib frontend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: novalazy+freedesktop at gmail.com

Created attachment 131943
  --> https://bugs.freedesktop.org/attachment.cgi?id=131943&action=edit
test case

In the attached test case, the main content stream
1. sets the nonstroking colour to a tiling pattern
2. sets the nonstroking alpha constant to 0.5
3. fills a rectangle.

The tiling pattern itself sets the nonstroking alpha constant to 0.75, then
paints a blue pattern cell.

I thought that the pattern cell should be rendered with alpha 0.75, then when
it is used to fill the rectangle, the alpha constant 0.5 also has an effect. So
the final image would be a blue rectangle with alpha 0.75 * 0.5. This is the
behaviour exhibited by Acrobat, xpdf, poppler/test/gtk-test, and
poppler/qt4/demos/poppler_qt4viewer

However, the output with evince and poppler-glib-demo is a blue rectangle with
alpha 0.75, where the alpha constant set in the main content stream has no
effect on the filling of the rectangle.

Sorry if this is not a bug, or if it is filed in the wrong place.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170614/735da327/attachment.html>


More information about the Poppler-bugs mailing list