Comment 8 for bug 919176

Revision history for this message
Alvin Penner (apenner) wrote :

in the file OuvragesMaritimes2010Vf.pdf, the radial gradient in the logo at the bottom right of page 1 is getting corrupted during the operation saveState() in the file pdfparser.cpp.

Before the saveState operation the parameters are (cx, cy, fx, fy, r) = (0, 0, 0, 0, 1) (these are typical of most radial gradients)
After the saveState operation the parameters are (cx, cy, fx, fy, r) = (0, 1, 0, 0, 1) (this change should not have occurred)

this is causing the observed distortion in the gradient. This appears to be a Poppler bug. In any event, I do not know how to fix it, so the workaround is to not refresh the state. A more elegant solution would be welcomed.

change committed to rev 11184