[Poppler-bugs] [Bug 37347] A pdf with a grid of thin lines is almost unreadable and looks awful

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 26 04:17:08 PDT 2012


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

thomasf <Thomas.Freitag at alfa.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60900|0                           |1
        is obsolete|                            |

--- Comment #22 from thomasf <Thomas.Freitag at alfa.de> 2012-05-26 04:17:08 PDT ---
Created attachment 62123
  --> https://bugs.freedesktop.org/attachment.cgi?id=62123
Rendered with my final approach

I'm now satisfied with my solution of this bug, s. attached output. This is now
comparable with the output of acrobat when the preference "Enhance thin lines"
is on.
I decided also to spend a new GlobalParams value, enhanceThinLines, which, when
setting it to gFalse, produces once again the output of comment 19. So it's up
to the calling application if it wants this output or the output of comment 19.
So setting it to gFalse (gTrue is the default) has the same output as if You
switch off "Enhance thin lines" in acrobat.
I'm not able to upload a patch right now, because it's just the fourth patch in
my queue, so it will take probably a few weeks until the patch will be
available. And if I tell that even with this already fine tuned patch I got
6299 differences in my regression test, it will probably take some additional
time until the patch will be committed.
So round about 36 % of my tests failed, but this is okay, because the patch
changes the output of a basic function in PDF, and it solves the bug in our
code where at least for vertical lines it is dependent from the y position if a
line is painted at all and when, also the shape is dependent on the position.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list