[Poppler-bugs] [Bug 84693] New: Dotted lines not rendered correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 5 12:23:16 PDT 2014


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

            Bug ID: 84693
           Summary: Dotted lines not rendered correctly
           Product: poppler
           Version: unspecified
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: a.amann at ucc.ie

Created attachment 107371
  --> https://bugs.freedesktop.org/attachment.cgi?id=107371&action=edit
Horizontal dotted line, gets misrendered by poppler

Fat Dotted lines are not always rendered correctly. See for example the
attached pdf file "test.pdf", which was created using the following python
snippet:

-----------------------
import numpy as np
import matplotlib.pylab as plt

fig, ax = plt.subplots()
fig.patch.set_visible(False)
ax.axis('off')

myx = np.linspace(0,1)
plt.plot(myx, np.zeros_like(myx), "b:",linewidth=10)


plt.savefig("test.pdf")
------------------------

When I open the resulting file in okular, I get annoying fat dots along the
horizontal line as shown in the attached file "test_dump.png". If I save
instead of .pdf in .png (or .eps) format, okular gives me what is shown in
"test_dump_correct.png", which is also resembling what comes on the screen. 

This misrenedering happens with okular, but also with xpdf, which brought me to
the conclusion that this might be a problem in poppler, which I understand is
the underlying library.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20141005/3f362bda/attachment.html>


More information about the Poppler-bugs mailing list