<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Arthur messes up line dash patterns"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102630#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Arthur messes up line dash patterns"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102630">bug 102630</a>
from <span class="vcard"><a class="email" href="mailto:oliver.sander@tu-dresden.de" title="oliver.sander@tu-dresden.de">oliver.sander@tu-dresden.de</a>
</span></b>
<pre>I had a look today, and it smells a bit like a Qt bug. The dashed line has
width 0.7, and Qt line dashes do not behave as advertised when the line width
is below 1. The fact that it works without my patch seems to be a coincidence.
I am not sure yet why the line dash looks okay in Okular.
To demonstrate the problem I have written a short test program (attached). It
uses Qt only, and has no dependency on poppler. According to the documentation
of the QPen class,
<a href="http://doc.qt.io/qt-5/qpen.html#setDashPattern">http://doc.qt.io/qt-5/qpen.html#setDashPattern</a>
it should produce four parallel lines of thickness 4, 2, 1, and 0.5, all with
the same pattern. However, while the line thicknesses come out right, only the
first three lines have the correct pattern.
Suggestions?</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>