<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - A pdf with a grid of thin lines is almost unreadable and looks awful"
href="https://bugs.freedesktop.org/show_bug.cgi?id=37347">bug 37347</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #68838 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - A pdf with a grid of thin lines is almost unreadable and looks awful"
href="https://bugs.freedesktop.org/show_bug.cgi?id=37347#c34">Comment # 34</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - A pdf with a grid of thin lines is almost unreadable and looks awful"
href="https://bugs.freedesktop.org/show_bug.cgi?id=37347">bug 37347</a>
from <span class="vcard"><a class="email" href="mailto:Thomas.Freitag@alfa.de" title="Thomas Freitag <Thomas.Freitag@alfa.de>"> <span class="fn">Thomas Freitag</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=72580" name="attach_72580" title="Introduce option SplashThinLineMode">attachment 72580</a> <a href="attachment.cgi?id=72580&action=edit" title="Introduce option SplashThinLineMode">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=37347&attachment=72580'>[review]</a>
Introduce option SplashThinLineMode
Here now a new option SplashThinLineMode in the SplashOutputDev constructor
(and not in GlobalParams :-) ).
I upload this patch with the default value splashThinLineDefault, which changes
nothing in rendering, so also the PDF of <a href="show_bug.cgi?id=37347#c1">comment 1</a> still looks awful, and in
the patch there is no way to override the default value. To see differences,
You just need to change the default value in the constructor in
SplashOutputDev.h.
Possible other values are:
a) splashThinLineSolid: with this value the output looks like in cairo and like
in acrobat reader with the default setting "enhance thin lines on"
b) splashThinLineShape: with this value the output looks like in acrobat reader
with the setting "enhance thin lines off"
I haven't changed the rendering output for splashThinLineDefault, because I
encountered that nearly no PDF uses the stroke adjust (SA) parameter. I guess,
one reason for this is that acrobat reader ignores this PDF parameter.
I think, that splashThinLineSolid would be the better default value, because it
changes the rendering to the cairo or acrobat reader way, but as I already
commented, this would change 39% of rendering output with splash. But now it's
up to You to decide.
If You let the default value on splashThinLineDefault, we should probably spend
a commandline option to pdftoppm to override it, even You denied that in
<a href="show_bug.cgi?id=37347#c16">comment 16</a>. I would do it and I also would change the man page then.
In either case I plan to extend the qt extension to override the default value,
so that programs like okular can introduce the possibility to set this option
at least to either splashThinLineSolid or splashThinLineShape to simulate the
acrobat reader possibilities, but the implementation also depends on Your
decision which should be the default value.</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>