[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 06:37:29 PDT 2012


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

--- Comment #25 from Adrian Johnson <ajohnson at redneon.com> 2012-05-26 06:37:29 PDT ---
(In reply to comment #24)
> Setting "stroke adjustment" to gTrue means that lines are rounded to an integer
> number of pixels thickness, to make sure all vertical or horizontal lines
> appear the same weight, no matter how they align with the pixel grid.
> enhanceThinLines now means that lines (I implemented only vertical and
> horizontal lines) that all lines with a width less than one pixel will always
> shown with shape 255, if it is set to gFalse they are painted with a shape
> corresponding to their width.
> Therefore I think there is a difference.

ISO32000 page 319: 
"If stroke adjustment is enabled and the requested line width, transformed into
device space, is less than half a
pixel, the stroke shall be rendered as a single-pixel line."

It looks to me like stroke adjust does both.

-- 
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