[Poppler-bugs] [Bug 32791] Incorrect rendering of type 7 shading

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 24 01:51:05 PST 2011


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

--- Comment #1 from Andrea Canciani <ranma42 at gmail.com> 2011-01-24 01:51:05 PST ---
It looks like the bug is in the implementation of Gfx::fillPatch.
It subdivides the patch in 2 parts in each parameter direction and uses
recursion on each of the 4 subpatches.

This makes it possible for some points of a subpatch to be drawn over the same
points in another subpatch and this can lead to incorrect rendering.

If you want to keep the recursion structure, you should remember that you can
safely subdivide only in the v direction. If you want to subdivide along u, you
need to check some additional conditions.

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