[Poppler-bugs] [Bug 102630] [PATCH] Arthur messes up line dash patterns

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 28 22:33:23 UTC 2017


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

--- Comment #14 from oliver.sander at tu-dresden.de ---
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, 

 http://doc.qt.io/qt-5/qpen.html#setDashPattern

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?

-- 
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/20170928/c67a99eb/attachment-0001.html>


More information about the Poppler-bugs mailing list