<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Transparent grid visible through type 1 shading"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70259">70259</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Transparent grid visible through type 1 shading
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>obscurans@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>cairo backend
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=87261" name="attach_87261" title="Minimal PDF with type 1 shading">attachment 87261</a> <a href="attachment.cgi?id=87261&action=edit" title="Minimal PDF with type 1 shading">[details]</a></span>
Minimal PDF with type 1 shading
When displaying a Type 1 shading object in evince, poppler 0.20.4 displays a
prominent grid of transparent color between what looks to be the sampling grid.
This does not improve when scaling up, and from anti-aliasing looks even worse
when scaled down.
Also, the resolution of the sampling grid seems to be fixed, regardless of the
MediaBox/Matrix scaled size of the shading and the scaling factor. gs displays
it properly.
I am no expert at all, but I thought the main point of a Type 1 shading was
that it is defined at arbitrary points. So the simplest and most correct way of
rendering it would be to directly transform the screen pixel to user/pattern
space coordinates and invoke the supplied function on each pixel.
This would cause a recompute only on a resizing event, which is in line with
everything else. As to anti-aliasing, it is a specifiable property of the
shading dictionary, default false.</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>