<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - alpha constant on tiling pattern"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101417">101417</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>alpha constant on tiling pattern
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>glib frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>novalazy+freedesktop@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=131943" name="attach_131943" title="test case">attachment 131943</a> <a href="attachment.cgi?id=131943&action=edit" title="test case">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>