[Poppler-bugs] [Bug 32349] Radial shading does not render correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 17 05:08:10 PST 2010


--- Comment #4 from thomasf <Thomas.Freitag at alfa.de> 2010-12-17 05:08:09 PST ---
Created an attachment (id=41208)
 View: https://bugs.freedesktop.org/attachment.cgi?id=41208
 Review: https://bugs.freedesktop.org/review?bug=32349&attachment=41208

should solve this issue

The patch include 3 differnt kind of changes:
1. The changes in FontInfo.cc and PDFDoc.cc are due to the fact I cannot
compile the actual git source code with VS 2008 on Windows anymore. Please have
a look at it and be free to commit it or not!
2. The main change in Gfx.cc solves this bug
3. The following change in Gfx.cc
-  if (vaa) {
+  if (vaa && shading->getType() != 3) {
is because of the wine glass in ducks & roses. I'd a deeper look into the
source code for radial shading, and I think the way radial shading is
implemented needs antialiasing to give better results. I compared the output
for the wine glass with and without antialiasing, and in my opinion the output
with antialising is much better. But be free to commit this special change or

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