[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 Jan 5 23:16:08 PST 2013


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

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

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

--- Comment #34 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
Created attachment 72580
  --> https://bugs.freedesktop.org/attachment.cgi?id=72580&action=edit
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 comment 1 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
comment 16. 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.

-- 
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/20130106/bd6439fd/attachment.html>


More information about the Poppler-bugs mailing list